mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
Fix note menu (#3184)
This commit is contained in:
parent
9f32713093
commit
fa4ea494bf
@ -45,15 +45,15 @@ export default Vue.extend({
|
|||||||
text: this.$t('favorite'),
|
text: this.$t('favorite'),
|
||||||
action: this.favorite
|
action: this.favorite
|
||||||
}], this.note.userId == this.$store.state.i.id ? [
|
}], 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',
|
icon: 'thumbtack',
|
||||||
text: this.$t('unpin'),
|
text: this.$t('unpin'),
|
||||||
action: this.unpin
|
action: this.unpin
|
||||||
}] : [{
|
} : {
|
||||||
icon: 'thumbtack',
|
icon: 'thumbtack',
|
||||||
text: this.$t('pin'),
|
text: this.$t('pin'),
|
||||||
action: this.pin
|
action: this.pin
|
||||||
}]
|
}
|
||||||
] : []
|
] : []
|
||||||
], [
|
], [
|
||||||
this.note.userId == this.$store.state.i.id || this.$store.state.i.isAdmin ? [{
|
this.note.userId == this.$store.state.i.id || this.$store.state.i.isAdmin ? [{
|
||||||
|
Loading…
Reference in New Issue
Block a user