Add namespaceID as id for root namespace HTML element
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user