diff --git a/src/client/pages/user/index.vue b/src/client/pages/user/index.vue
index 20eaca368..e2f3d67ca 100644
--- a/src/client/pages/user/index.vue
+++ b/src/client/pages/user/index.vue
@@ -83,7 +83,7 @@
-
+
{{ $t('images') }}
@@ -210,6 +210,11 @@ export default Vue.extend({
const pos = -(top / z);
banner.style.backgroundPosition = `center calc(50% - ${pos}px)`;
},
+
+ pinnedNoteUpdated(oldValue, newValue) {
+ const i = this.user.pinnedNotes.findIndex(n => n === oldValue);
+ Vue.set(this.user.pinnedNotes, i, newValue);
+ },
}
});