This commit is contained in:
syuilo 2018-09-25 20:44:26 +09:00
parent 19128769ec
commit 26a7ad8205

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