suppress error toast for LibrarySyncWithAPIPlanned and anonymous users

This commit is contained in:
nklhrstv 2022-10-27 18:05:48 +03:00
parent 1dd5b04204
commit 92fa3d53a5

View file

@ -15,6 +15,10 @@ const ServicesToaster = () => {
break;
}
if (args.source.event === 'LibrarySyncWithAPIPlanned' && args.source.args.uid === null) {
break;
}
toast.show({
type: 'error',
title: args.source.event,