mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
hide home button in embedded mode
This commit is contained in:
@@ -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 @@
|
|||||||
|
|
||||||
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user