diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-07-12 00:12:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-07-12 00:12:30 +0900 |
| commit | 8ff2694cadd3ab3d51f96fc2ea3bbfde29475660 (patch) | |
| tree | 8b9a1ed4f86530efa90ed504345157ade98ba2b6 /src/client/pages | |
| parent | chore: Add TODO (diff) | |
| download | misskey-8ff2694cadd3ab3d51f96fc2ea3bbfde29475660.tar.gz misskey-8ff2694cadd3ab3d51f96fc2ea3bbfde29475660.tar.bz2 misskey-8ff2694cadd3ab3d51f96fc2ea3bbfde29475660.zip | |
feat(client): ミューテーション監視をやめてページリロードするように
Diffstat (limited to 'src/client/pages')
| -rw-r--r-- | src/client/pages/preferences/index.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/pages/preferences/index.vue b/src/client/pages/preferences/index.vue index ffc8858764..2b34513865 100644 --- a/src/client/pages/preferences/index.vue +++ b/src/client/pages/preferences/index.vue @@ -201,7 +201,7 @@ export default Vue.extend({ enableInfiniteScroll: { get() { return this.$store.state.device.enableInfiniteScroll; }, - set(value) { this.$store.commit('device/setInfiniteScrollEnabling', value); } + set(value) { this.$store.commit('device/set', { key: 'enableInfiniteScroll', value }); } }, fixedWidgetsPosition: { @@ -294,6 +294,10 @@ export default Vue.extend({ fixedWidgetsPosition() { location.reload() }, + + enableInfiniteScroll() { + location.reload() + }, }, methods: { |