mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 22:53:08 +02:00
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.$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 a new issue