Compare commits
No commits in common. "9e28674453fadf7f264cd5d70cd1603156a238d6" and "8d799d74a64f344c91a110e5f004d47519a78cda" have entirely different histories.
9e28674453
...
8d799d74a6
1 changed files with 6 additions and 5 deletions
|
|
@ -45,7 +45,12 @@ export default {
|
|||
shortcode: this.shortcode,
|
||||
filename: '',
|
||||
})
|
||||
.then(({ data: resp }) => {
|
||||
.then((resp) => resp.json())
|
||||
.then((resp) => {
|
||||
if (resp.error !== undefined) {
|
||||
this.displayError(resp.error)
|
||||
return
|
||||
}
|
||||
useInterfaceStore().pushGlobalNotice({
|
||||
messageKey: 'admin_dash.emoji.copied_successfully',
|
||||
messageArgs: [this.shortcode, this.packName],
|
||||
|
|
@ -55,10 +60,6 @@ export default {
|
|||
this.$refs.emojiPopover.hidePopover()
|
||||
this.packName = ''
|
||||
})
|
||||
.catch((e) => {
|
||||
this.displayError(e)
|
||||
return
|
||||
})
|
||||
},
|
||||
|
||||
fetchEmojiPacksIfAdmin() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue