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