mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 15:46:06 +09:00
Merge pull request #2550 from Hiramiya/fix-invalidfiletype
Fix broken invalid-filetype behaviour
This commit is contained in:
commit
b97847c00b
@ -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