forked from AkkomaGang/admin-fe
Add missing computed properties in emoji section
This commit is contained in:
parent
9508c2c114
commit
d0d421ca5f
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,9 @@ export default {
|
||||||
isDesktop() {
|
isDesktop() {
|
||||||
return this.$store.state.app.device === 'desktop'
|
return this.$store.state.app.device === 'desktop'
|
||||||
},
|
},
|
||||||
|
isMobile() {
|
||||||
|
return this.$store.state.app.device === 'mobile'
|
||||||
|
},
|
||||||
shortcodePresent() {
|
shortcodePresent() {
|
||||||
return this.shortcode.trim() === ''
|
return this.shortcode.trim() === ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,6 +95,9 @@ export default {
|
||||||
isDesktop() {
|
isDesktop() {
|
||||||
return this.$store.state.app.device === 'desktop'
|
return this.$store.state.app.device === 'desktop'
|
||||||
},
|
},
|
||||||
|
isMobile() {
|
||||||
|
return this.$store.state.app.device === 'mobile'
|
||||||
|
},
|
||||||
localPacks() {
|
localPacks() {
|
||||||
return this.$store.state.emojiPacks.localPacks
|
return this.$store.state.emojiPacks.localPacks
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue