diff options
author | morpheus65535 <[email protected]> | 2023-04-20 11:35:43 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-20 11:35:43 -0400 |
commit | 2c313a40a558069c8cf4a3dc6efa80e4bec50f43 (patch) | |
tree | 741ea1e0705bca82cf82b0f2a663df5a6bf5bcbb /frontend | |
parent | e263927779365a641a9018016763ebf05c769fdd (diff) | |
download | bazarr-2c313a40a558069c8cf4a3dc6efa80e4bec50f43.tar.gz bazarr-2c313a40a558069c8cf4a3dc6efa80e4bec50f43.zip |
Fixed episodes blacklist update in webui
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/apis/hooks/episodes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/apis/hooks/episodes.ts b/frontend/src/apis/hooks/episodes.ts index 0dd473c4f..b9e78be87 100644 --- a/frontend/src/apis/hooks/episodes.ts +++ b/frontend/src/apis/hooks/episodes.ts @@ -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]); }, } ); |