most stuff seem to work without errors

This commit is contained in:
Henry Jameson 2026-01-23 00:17:27 +02:00
commit 80e09efd71
22 changed files with 116 additions and 155 deletions

View file

@ -1,9 +1,9 @@
import { mapState as mapPiniaState } from 'pinia'
import { defineAsyncComponent } from 'vue'
import { mapGetters, mapState } from 'vuex'
import { mapState as mapPiniaState } from 'pinia'
import { useSyncConfigStore } from 'src/stores/sync_config.js'
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
import { useSyncConfigStore } from 'src/stores/sync_config.js'
import {
highlightClass,
highlightStyle,
@ -99,7 +99,10 @@ const MentionLink = {
return this.user && this.user.screen_name_ui
},
highlight() {
return this.user && useSyncConfigStore().mergedConfig.highlight[this.user.screen_name]
return (
this.user &&
useSyncConfigStore().mergedConfig.highlight[this.user.screen_name]
)
},
highlightType() {
return this.highlight && '-' + this.highlight.type