diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-12-27 18:13:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-12-27 18:13:50 +0900 |
| commit | 3c65e7b76ea474b45b498e275602c9b64fd57988 (patch) | |
| tree | dc3bca11f7e46e2cfa8bbdf8c0bd92850f0ecfaa /src/client/components | |
| parent | nanka iroiro (diff) | |
| download | misskey-3c65e7b76ea474b45b498e275602c9b64fd57988.tar.gz misskey-3c65e7b76ea474b45b498e275602c9b64fd57988.tar.bz2 misskey-3c65e7b76ea474b45b498e275602c9b64fd57988.zip | |
fix deck navigation
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/global/a.vue | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/client/components/global/a.vue b/src/client/components/global/a.vue index 671245fec7..cf894deaba 100644 --- a/src/client/components/global/a.vue +++ b/src/client/components/global/a.vue @@ -10,7 +10,7 @@ import { faExpandAlt, faColumns, faExternalLinkAlt, faLink, faWindowMaximize } f import * as os from '@/os'; import copyToClipboard from '@/scripts/copy-to-clipboard'; import { router } from '@/router'; -import { ui, url } from '@/config'; +import { url } from '@/config'; import { popout } from '@/scripts/popout'; import { ColdDeviceStorage } from '@/store'; @@ -115,13 +115,6 @@ export default defineComponent({ if (this.$store.state.defaultSideView && this.sideViewHook && this.to !== '/') { return this.sideViewHook(this.to); } - // TODO: a.vueからdeck-sotreを参照したくないのでなんとかする - //if (deckStore.state.device.deckNavWindow && (ui === 'deck') && this.to !== '/') { - // return this.window(); - //} - if (ui === 'desktop') { - return this.window(); - } if (this.$router.currentRoute.value.path === this.to) { window.scroll({ top: 0, behavior: 'smooth' }); |