most stuff seem to work without errors
This commit is contained in:
parent
35a3d59235
commit
80e09efd71
22 changed files with 116 additions and 155 deletions
|
|
@ -213,7 +213,9 @@ export const useEmojiStore = defineStore('emoji', {
|
|||
const imageUrl = value.image_url
|
||||
return {
|
||||
displayText: key,
|
||||
imageUrl: imageUrl ? useInstanceStore().server + imageUrl : value,
|
||||
imageUrl: imageUrl
|
||||
? useInstanceStore().server + imageUrl
|
||||
: value,
|
||||
tags: imageUrl
|
||||
? value.tags.sort((a, b) => (a > b ? 1 : 0))
|
||||
: ['utf'],
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
},
|
||||
async applyTheme({ recompile = false } = {}) {
|
||||
const { forceThemeRecompilation, themeDebug, theme3hacks } =
|
||||
window.vuex.state.config
|
||||
useSyncConfigStore().mergedConfig
|
||||
this.themeChangeInProgress = true
|
||||
// If we're not forced to recompile try using
|
||||
// cache (tryLoadCache return true if load successful)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue