mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 15:54:26 +00:00
Fixed episodes blacklist update in webui
This commit is contained in:
parent
e263927779
commit
2c313a40a5
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ export function useEpisodeAddBlacklist() {
|
|||
},
|
||||
{
|
||||
onSuccess: (_, { seriesId, episodeId }) => {
|
||||
client.invalidateQueries([QueryKeys.Series, QueryKeys.Blacklist]);
|
||||
client.invalidateQueries([QueryKeys.Series, QueryKeys.Episodes, QueryKeys.Blacklist]);
|
||||
client.invalidateQueries([QueryKeys.Series, seriesId]);
|
||||
},
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ export function useEpisodeDeleteBlacklist() {
|
|||
api.episodes.deleteBlacklist(param.all, param.form),
|
||||
{
|
||||
onSuccess: (_, param) => {
|
||||
client.invalidateQueries([QueryKeys.Series, QueryKeys.Blacklist]);
|
||||
client.invalidateQueries([QueryKeys.Series, QueryKeys.Episodes, QueryKeys.Blacklist]);
|
||||
},
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue