Fix #2766
This commit is contained in:
parent
e6cc937ac2
commit
5da18ba535
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default Vue.extend({
|
||||||
}];
|
}];
|
||||||
|
|
||||||
if (this.note.userId == this.$store.state.i.id) {
|
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({
|
items.push({
|
||||||
icon: '%fa:thumbtack%',
|
icon: '%fa:thumbtack%',
|
||||||
text: '%i18n:@unpin%',
|
text: '%i18n:@unpin%',
|
||||||
|
|
Loading…
Reference in a new issue