Skip to content

Commit 856d8e5

Browse files
committed
fix: no toast on automated legend update
1 parent 88f3fbc commit 856d8e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/components/Form/service/40_ServiceForm.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import { page } from '$app/state';
2020
import { toast } from 'svelte-french-toast';
2121
import { invalidateAll } from '$app/navigation';
22+
import { logger } from 'loggisch';
2223
2324
const t = $derived(page.data.t);
2425
@@ -84,7 +85,7 @@
8485
(s: Service) => s.serviceIdentification === service.serviceIdentification
8586
)?.legendImage;
8687
if (newLegendImage && JSON.stringify(oldLegendImage) !== JSON.stringify(newLegendImage)) {
87-
toast.success(t('serviceform.legend_autoupdate_info'));
88+
logger.info(t('serviceform.legend_autoupdate_info'));
8889
service = setNestedValue(service, 'legendImage', newLegendImage);
8990
}
9091
}

0 commit comments

Comments
 (0)