mirror of
https://iceshrimp.dev/iceshrimp/akkoma-fe.git
synced 2025-12-16 16:33:03 +01:00
20 lines
435 B
JavaScript
20 lines
435 B
JavaScript
const NavPanel = {
|
|
created () {
|
|
if (this.currentUser && this.currentUser.locked) {
|
|
this.$store.dispatch('startFetchingFollowRequest')
|
|
}
|
|
},
|
|
computed: {
|
|
currentUser () {
|
|
return this.$store.state.users.currentUser
|
|
},
|
|
chat () {
|
|
return this.$store.state.chat.channel
|
|
},
|
|
followRequestCount () {
|
|
return this.$store.state.api.followRequests.length
|
|
}
|
|
}
|
|
}
|
|
|
|
export default NavPanel
|