Skip to content

Commit

Permalink
return error from backend instead if local login disabled rather than…
Browse files Browse the repository at this point in the history
… not displaying at all in UI
  • Loading branch information
wh1te909 committed Nov 1, 2024
1 parent 6f6d98f commit 237b097
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<q-item-label>Preferences</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-if="!block_local_user_logon">
<q-item clickable>
<q-item-section>Account</q-item-section>
<q-item-section side>
<q-icon name="keyboard_arrow_right" />
Expand Down Expand Up @@ -259,9 +259,6 @@ const hosted = computed(() => store.state.hosted);
const tokenExpired = computed(() => store.state.tokenExpired);
const dash_warning_color = computed(() => store.state.dash_warning_color);
const dash_negative_color = computed(() => store.state.dash_negative_color);
const block_local_user_logon = computed(
() => store.state.block_local_user_logon,
);
const latestReleaseURL = computed(() => {
return latestTRMMVersion.value
Expand Down

0 comments on commit 237b097

Please sign in to comment.