aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"