Skip to content

Commit

Permalink
Fix Quickstart-Button shown for non-admin users (#2245)
Browse files Browse the repository at this point in the history
Follow-up for #2209.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
(cherry picked from commit 0f35e0e)
  • Loading branch information
florian-h05 committed Dec 29, 2023
1 parent 79fc13c commit 0637cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<component :is="overviewPage.component" v-if="overviewPage" v-show="!inChatSession" :context="overviewPageContext" :class="{notready: !ready}" @command="onCommand" />
<div class="empty-overview" v-else-if="!inChatSession">
<empty-state-placeholder icon="house" title="overview.title" text="overview.text" />
<f7-row v-if="$f7.width < 1280" class="display-flex justify-content-center">
<f7-row v-if="!$store.getters.isAdmin || $f7.width < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external :href="`${documentationLinkPrefix}link/docs`" target="_blank" v-t="'home.overview.button.documentation'" />
<span style="width: 8px" />
<f7-button large color="blue" external :href="`${documentationLinkPrefix}link/tutorial`" target="_blank" v-t="'home.overview.button.tutorial'" />
Expand Down

0 comments on commit 0637cc0

Please sign in to comment.