summaryrefslogtreecommitdiff
path: root/src/client/components/ui
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-03 17:00:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-03 17:00:47 +0900
commitd7085b17fec7c55339efacb9e072f2228e1fc97a (patch)
treec4e263455e4e1aa88071c5b58acb3da45874b5e6 /src/client/components/ui
parentTweak page window initial size (diff)
downloadsharkey-d7085b17fec7c55339efacb9e072f2228e1fc97a.tar.gz
sharkey-d7085b17fec7c55339efacb9e072f2228e1fc97a.tar.bz2
sharkey-d7085b17fec7c55339efacb9e072f2228e1fc97a.zip
wip: Desktop UI
Diffstat (limited to 'src/client/components/ui')
-rw-r--r--src/client/components/ui/a.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/components/ui/a.vue b/src/client/components/ui/a.vue
index 516cf02bd6..384ee0259e 100644
--- a/src/client/components/ui/a.vue
+++ b/src/client/components/ui/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 { deckmode, url } from '@/config';
+import { ui, url } from '@/config';
import { popout } from '@/scripts/popout';
export default defineComponent({
@@ -114,7 +114,10 @@ export default defineComponent({
if (this.$store.state.device.defaultSideView && this.sideViewHook && this.to !== '/') {
return this.sideViewHook(this.to);
}
- if (this.$store.state.device.deckNavWindow && deckmode && this.to !== '/') {
+ if (this.$store.state.device.deckNavWindow && (ui === 'deck') && this.to !== '/') {
+ return this.window();
+ }
+ if (ui === 'desktop') {
return this.window();
}