Commit 051821e2 authored by mntmn's avatar mntmn Committed by mntmn
Browse files

hide home button in embedded mode

parent 0a439995
...@@ -14,6 +14,7 @@ function boot_spacedeck() { ...@@ -14,6 +14,7 @@ function boot_spacedeck() {
account: "profile", account: "profile",
logged_in: false, logged_in: false,
guest_nickname: null, guest_nickname: null,
embedded: false,
user: {}, user: {},
active_profile: null, active_profile: null,
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
<a class="btn btn-icon btn-transparent" <a class="btn btn-icon btn-transparent"
title="[[__("home")]]" href="/spaces" title="[[__("home")]]" href="/spaces"
v-if="(!active_space.parent_space_id && !guest_nickname)"> v-if="(!active_space.parent_space_id && !guest_nickname && !embedded)">
<span class="icon icon-folder"></span> <span class="icon icon-folder"></span>
</a> </a>
<a class="btn btn-icon btn-dark" <a class="btn btn-icon btn-dark"
title="Parent Folder" title="Parent Folder"
href="/folders/{{active_space.parent_space_id}}" href="/folders/{{active_space.parent_space_id}}"
v-if="(active_space.parent_space_id && !guest_nickname)"> v-if="(active_space.parent_space_id && !guest_nickname && !embedded)">
<span class="icon icon-sd6 icon-svg"></span> <span class="icon icon-sd6 icon-svg"></span>
</a> </a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment