mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 11:32:56 +09:00
Add return for invalid filetypes, fixes wrong behaviour
This commit is contained in:
parent
0230434a01
commit
c46fbed829
@ -16,7 +16,7 @@ export default (os: OS) => {
|
||||
text: '%i18n:common.got-it%'
|
||||
}]
|
||||
});
|
||||
reject();
|
||||
return reject('invalid-filetype');
|
||||
}
|
||||
|
||||
const w = os.new(CropWindow, {
|
||||
|
@ -16,7 +16,7 @@ export default (os: OS) => {
|
||||
text: '%i18n:common.got-it%'
|
||||
}]
|
||||
});
|
||||
reject();
|
||||
return reject('invalid-filetype');
|
||||
}
|
||||
|
||||
const w = os.new(CropWindow, {
|
||||
|
Loading…
Reference in New Issue
Block a user