This commit is contained in:
syuilo 2018-09-25 20:44:26 +09:00
parent e6cc937ac2
commit 5da18ba535
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 1 deletions

View File

@ -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%',