diff options
| author | Henry Jameson <me@hjkos.com> | 2022-06-07 16:52:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-06-07 16:52:03 +0300 |
| commit | 9b5fe24ca455af5420a326e78878ca7b35b5bf66 (patch) | |
| tree | 4dcf510e313480072a40ed8f89abdcc37bffec52 /src/components/notifications | |
| parent | 0aa334515bd67ca69e84177c22273592f694fc28 (diff) | |
restore notifications page, fix z-index issues
Diffstat (limited to 'src/components/notifications')
| -rw-r--r-- | src/components/notifications/notifications.js | 4 | ||||
| -rw-r--r-- | src/components/notifications/notifications.vue | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index fb2579a5..82aa1489 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -27,7 +27,9 @@ const Notifications = { // meant for "Interactions" timeline minimalMode: Boolean, // Custom filter mode, an array of strings, possible values 'mention', 'repeat', 'like', 'follow', used to override global filter for use in "Interactions" timeline - filterMode: Array + filterMode: Array, + // Disable teleporting (i.e. for /users/user/notifications) + disableTeleport: Boolean }, data () { return { diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 794ef51d..b46c06aa 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -1,5 +1,5 @@ <template> - <teleport :disabled="minimalMode" :to="teleportTarget"> + <teleport :disabled="minimalMode || disableTeleport" :to="teleportTarget"> <div :class="{ minimal: minimalMode }" class="Notifications" |
