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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue