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",
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user