diff --git a/src/core/react-query/file/mutations.ts b/src/core/react-query/file/mutations.ts index 64d15c9ce..2fae4e3f2 100644 --- a/src/core/react-query/file/mutations.ts +++ b/src/core/react-query/file/mutations.ts @@ -43,8 +43,9 @@ export const useDeleteFileLinkMutation = () => export const useIgnoreFileMutation = () => useMutation({ - mutationFn: ({ fileId, ignore }: IgnoreFileRequestType) => axios.put(`File/${fileId}/Ignore`, { ignore }), - onSuccess: () => invalidateQueries(['files', { include_only: ['Ignored'] }]), + mutationFn: ({ fileId, ignore }: IgnoreFileRequestType) => + axios.put(`File/${fileId}/Ignore`, undefined, { params: { value: ignore } }), + onSuccess: () => invalidateQueries(['files']), }); export const useLinkOneFileToManyEpisodesMutation = () => diff --git a/src/css/common.css b/src/css/common.css index 90085ddac..270aa51ff 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -150,11 +150,6 @@ body { font-family: Sora, sans, serif, mono !important; } -/* stylelint-disable-next-line selector-class-pattern */ -.Toastify__progress-bar { - height: 10% !important; -} - /* stylelint-disable-next-line selector-class-pattern */ .Toastify__progress-bar--success { background: theme('colors.panel-text-important') !important;