mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Fix note menu (#3184)
This commit is contained in:
parent
05c549b0ab
commit
15243b75bc
@ -45,15 +45,15 @@ export default Vue.extend({
|
||||
text: this.$t('favorite'),
|
||||
action: this.favorite
|
||||
}], this.note.userId == this.$store.state.i.id ? [
|
||||
(this.$store.state.i.pinnedNoteIds || []).includes(this.note.id) ? [{
|
||||
(this.$store.state.i.pinnedNoteIds || []).includes(this.note.id) ? {
|
||||
icon: 'thumbtack',
|
||||
text: this.$t('unpin'),
|
||||
action: this.unpin
|
||||
}] : [{
|
||||
icon: 'thumbtack',
|
||||
text: this.$t('pin'),
|
||||
action: this.pin
|
||||
}]
|
||||
} : {
|
||||
icon: 'thumbtack',
|
||||
text: this.$t('pin'),
|
||||
action: this.pin
|
||||
}
|
||||
] : []
|
||||
], [
|
||||
this.note.userId == this.$store.state.i.id || this.$store.state.i.isAdmin ? [{
|
||||
|
Loading…
Reference in New Issue
Block a user