1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-20 11:19:22 -05:00

Merge pull request from Hiramiya/fix-invalidfiletype

Fix broken invalid-filetype behaviour
This commit is contained in:
syuilo 2018-08-31 07:00:31 +09:00 committed by GitHub
commit 6a7a4c20e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
src/client/app/desktop/api

View file

@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%'
}]
});
reject();
return reject('invalid-filetype');
}
const w = os.new(CropWindow, {

View file

@ -16,7 +16,7 @@ export default (os: OS) => {
text: '%i18n:common.got-it%'
}]
});
reject();
return reject('invalid-filetype');
}
const w = os.new(CropWindow, {