+
+
+ {{ $t('status.pinned') }}
+
-
-
- {{ $t('status.pinned') }}
-
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],
- level: 'success',
- })
-
- this.$refs.emojiPopover.hidePopover()
- this.packName = ''
- })
- },
-
- fetchEmojiPacksIfAdmin() {
- useEmojiStore().getAdminPacksLocal().then(() => {
- this.$refs.emojiPopover.updateStyles()
- })
- },
- },
-}
diff --git a/src/components/still-image/still-image-emoji-popover.vue b/src/components/still-image/still-image-emoji-popover.vue
index f80f111f7..4e087c094 100644
--- a/src/components/still-image/still-image-emoji-popover.vue
+++ b/src/components/still-image/still-image-emoji-popover.vue
@@ -21,53 +21,169 @@
/>
-
-
+
-
-
+ {{ $t('admin_dash.emoji.copy_to_pack') }}
+
-
+
-
-
-
-
+ {{ $t('admin_dash.emoji.emoji_pack') }}
+
+
+
+
-
+