Remove sidebar for normal users and add logo to header bar
This commit is contained in:
@@ -184,12 +184,12 @@ onMounted(async () => {
|
||||
<Transition name="pankow-animation-pop-up">
|
||||
<div v-if="ready" style="display: flex; flex-direction: row; overflow: hidden; height: 100%;">
|
||||
|
||||
<Sidebar :profile="profile" :config="config"/>
|
||||
<Sidebar v-if="profile.isAtLeastUserManager" :profile="profile" :config="config"/>
|
||||
|
||||
<div style="flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; height: 100%;">
|
||||
<Headerbar :subscription="subscription" :profile="profile"/>
|
||||
<Headerbar :config="config" :subscription="subscription" :profile="profile"/>
|
||||
|
||||
<div style="overflow: auto; flex-grow: 1;">
|
||||
<div style="display: flex; justify-content: center; overflow: auto; flex-grow: 1; padding: 0 6px;">
|
||||
<AppsView v-if="view === VIEWS.APPS" />
|
||||
<AppConfigureView v-else-if="view === VIEWS.APP" />
|
||||
<AppstoreView v-else-if="view === VIEWS.APPSTORE" />
|
||||
|
||||
Reference in New Issue
Block a user