biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -8,26 +8,29 @@ const tabModeDict = {
|
|||
follows: ['follow'],
|
||||
reactions: ['pleroma:emoji_reaction'],
|
||||
reports: ['pleroma:report'],
|
||||
moves: ['move']
|
||||
moves: ['move'],
|
||||
}
|
||||
|
||||
const Interactions = {
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
allowFollowingMove: this.$store.state.users.currentUser.allow_following_move,
|
||||
allowFollowingMove:
|
||||
this.$store.state.users.currentUser.allow_following_move,
|
||||
filterMode: tabModeDict.mentions,
|
||||
canSeeReports: this.$store.state.users.currentUser.privileges.includes('reports_manage_reports')
|
||||
canSeeReports: this.$store.state.users.currentUser.privileges.includes(
|
||||
'reports_manage_reports',
|
||||
),
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onModeSwitch (key) {
|
||||
onModeSwitch(key) {
|
||||
this.filterMode = tabModeDict[key]
|
||||
}
|
||||
},
|
||||
},
|
||||
components: {
|
||||
Notifications,
|
||||
TabSwitcher
|
||||
}
|
||||
TabSwitcher,
|
||||
},
|
||||
}
|
||||
|
||||
export default Interactions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue