Add namespaceID as id for root namespace HTML element

This commit is contained in:
Jože Fortun
2023-07-24 17:41:41 +02:00
parent 4cbbfce9fb
commit 7e7d92f432
+9 -1
View File
@@ -1,5 +1,8 @@
<template>
<div class="d-flex flex-column w-100 vh-100 overflow-hidden">
<div
:id="namespaceID"
class="d-flex flex-column w-100 vh-100 overflow-hidden"
>
<header>
<c-topbar
:sidebar-pinned="pinned"
@@ -159,6 +162,11 @@ export default {
logo () {
return this.$Settings.attachment('ui.mainLogo')
},
namespaceID () {
const { params = {} } = this.$route
return params.slug
},
},
watch: {