|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import { Layout } from "/components/layout.js"
|
|
|
|
|
import { Page } from "/components/page.js"
|
|
|
|
|
import { PageActions } from "/components/page-actions.js"
|
|
|
|
|
import { FileGroupPage } from "/components/file-group-page.js"
|
|
|
|
|
import { Header } from "/components/header.js"
|
|
|
|
|
import { NavMenu } from "/components/nav-menu.js"
|
|
|
|
|
@ -40,6 +41,7 @@ class Setup {
|
|
|
|
|
const layout = document.createElement(
|
|
|
|
|
'm-layout'
|
|
|
|
|
)
|
|
|
|
|
layout.pageActions = new PageActions()
|
|
|
|
|
layout.csp = undefined
|
|
|
|
|
layout.header.menu.handleLinks = true
|
|
|
|
|
document.body.appendChild(layout)
|
|
|
|
|
@ -60,9 +62,11 @@ class Setup {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
load() {
|
|
|
|
|
const layout = document.createElement('m-layout')
|
|
|
|
|
layout.pageActions = new PageActions()
|
|
|
|
|
if (this.registration.active) {
|
|
|
|
|
document.body.appendChild(
|
|
|
|
|
document.createElement('m-layout')
|
|
|
|
|
layout
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|