fix error text

This commit is contained in:
pa
2026-03-13 00:35:31 +09:00
parent fbe290b788
commit 73493cb0aa
4 changed files with 8 additions and 12 deletions

View File

@@ -108,7 +108,7 @@
import { useGeneralSettingsStore } from '@/stores/settings/general';
import { useI18n } from 'vue-i18n';
import { escapeTag, extractFileId } from '../shared/utils';
import { extractFileId } from '../shared/utils';
import { useGalleryStore } from '../stores';
const galleryStore = useGalleryStore();
@@ -301,7 +301,7 @@
toast.success(t('message.image.copied_to_clipboard'));
} catch (error) {
console.error('Error downloading image:', error);
toast.error(escapeTag(`Failed to download image. ${url}`));
toast.error(`Failed to download image. ${url}`);
} finally {
toast.dismiss(msg);
}
@@ -331,7 +331,7 @@
document.body.removeChild(link);
} catch (error) {
console.error('Error downloading image:', error);
toast.error(escapeTag(`Failed to download image. ${url}`));
toast.error(`Failed to download image. ${url}`);
} finally {
toast.dismiss(msg);
}