summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components')
-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();
}