Fix #2766
This commit is contained in:
parent
e6cc937ac2
commit
5da18ba535
@ -28,7 +28,7 @@ export default Vue.extend({
|
||||
}];
|
||||
|
||||
if (this.note.userId == this.$store.state.i.id) {
|
||||
if (this.$store.state.i.pinnedNoteIds.includes(this.note.id)) {
|
||||
if ((this.$store.state.i.pinnedNoteIds || []).includes(this.note.id)) {
|
||||
items.push({
|
||||
icon: '%fa:thumbtack%',
|
||||
text: '%i18n:@unpin%',
|
||||
|
Loading…
Reference in New Issue
Block a user