pl-api: support isCat

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2025-03-25 11:58:14 +01:00
parent 602c9604ef
commit 1f3faa5bcb
2 changed files with 9 additions and 1 deletions

View File

@ -227,7 +227,7 @@ const AltTextModal: React.FC<BaseModalProps & AltTextModalProps> = ({
dirtyRef.current = false;
onClose();
return '';
}).catch((err: unknown) => {
}).catch(() => {
setIsSaving(false);
toast.error(messages.savingFailed);
});