This commit is contained in:
kakkokari-gtyih 2024-04-08 18:58:57 +09:00
parent b13446f8d8
commit aa2ab698b5
2 changed files with 3 additions and 2 deletions

View file

@ -90,7 +90,7 @@ function select(src: any, label: string | null, multiple: boolean, excludeSensit
title: i18n.ts.cannotSelectSensitiveMedia,
text: i18n.ts.cannotSelectSensitiveMediaDescription,
});
rej();
rej(new Error('Sensitive media is selected'));
return;
}