aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-07 14:37:16 +0300
committerHenry Jameson <me@hjkos.com>2022-04-07 14:37:16 +0300
commitd3d219f15d4bac88f58d4fd0fed6f798b81cca82 (patch)
tree6cf36f274292950ab7f192b19a941cd9f9cabe9a
parent8d623ab1ea098b107c8aa22f01a410066f6b0d60 (diff)
fix interactions page
-rw-r--r--src/components/notifications/notifications.js3
-rw-r--r--src/components/notifications/notifications.vue2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 2bb8a1d1..fb2579a5 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -65,8 +65,7 @@ const Notifications = {
},
noHeading () {
const { layoutType } = this.$store.state.interface
- console.log(layoutType)
- return layoutType === 'mobile'
+ return this.minimalMode || layoutType === 'mobile'
},
teleportTarget () {
const { layoutType } = this.$store.state.interface
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index f50d3d38..bfc97dc0 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -1,5 +1,5 @@
<template>
- <teleport :to="teleportTarget">
+ <teleport :disabled="minimalMode" :to="teleportTarget">
<div
:class="{ minimal: minimalMode }"
class="Notifications"