fix
This commit is contained in:
parent
b13446f8d8
commit
aa2ab698b5
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue