mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
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