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() {
account: "profile",
logged_in: false,
guest_nickname: null,
embedded: false,
user: {},
active_profile: null,
......
......@@ -4,14 +4,14 @@
<a class="btn btn-icon btn-transparent"
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>
</a>
<a class="btn btn-icon btn-dark"
title="Parent Folder"
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>
</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