first pass of migration - states and obvious replacements
This commit is contained in:
parent
02f952047d
commit
24ce2dc0a5
66 changed files with 398 additions and 568 deletions
|
|
@ -2,6 +2,7 @@ import get from 'lodash/get'
|
|||
|
||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import withLoadMore from '../../hocs/with_load_more/with_load_more'
|
||||
import Conversation from '../conversation/conversation.vue'
|
||||
import FollowCard from '../follow_card/follow_card.vue'
|
||||
|
|
@ -87,7 +88,7 @@ const UserProfile = {
|
|||
favoritesTabVisible() {
|
||||
return (
|
||||
this.isUs ||
|
||||
(this.$store.state.instance.pleromaPublicFavouritesAvailable &&
|
||||
(useInstanceStore().pleromaPublicFavouritesAvailable &&
|
||||
!this.user.hide_favorites)
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue