mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 19:14:00 +00:00
Don't convert urls in the store.
This commit is contained in:
parent
e7771d5b67
commit
0fcb8b9f2e
1 changed files with 0 additions and 3 deletions
|
|
@ -232,7 +232,6 @@ const useChannelsStore = create((set, get) => ({
|
|||
logos: logos.reduce((acc, logo) => {
|
||||
acc[logo.id] = {
|
||||
...logo,
|
||||
url: logo.url.replace(/^\/data/, ''),
|
||||
};
|
||||
return acc;
|
||||
}, {}),
|
||||
|
|
@ -250,7 +249,6 @@ const useChannelsStore = create((set, get) => ({
|
|||
...state.logos,
|
||||
[newLogo.id]: {
|
||||
...newLogo,
|
||||
url: newLogo.url.replace(/^\/data/, ''),
|
||||
},
|
||||
},
|
||||
})),
|
||||
|
|
@ -261,7 +259,6 @@ const useChannelsStore = create((set, get) => ({
|
|||
...state.logos,
|
||||
[logo.id]: {
|
||||
...logo,
|
||||
url: logo.url.replace(/^\/data/, ''),
|
||||
},
|
||||
},
|
||||
})),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue