Sync app settings at login/registration instead of page load

This commit is contained in:
Bubka
2025-02-26 18:32:20 +01:00
parent 4ef76e0ae9
commit f3945463b7
11 changed files with 71 additions and 40 deletions

View File

@ -79,7 +79,7 @@
</ul>
<!-- email link -->
<button type="button" id="btnEmailMenu" @click="showMenu = !showMenu" class="button is-text is-like-text has-text-grey" style="width: 100%;">
<span v-if="appSettings.latestRelease && appSettings.checkForUpdate" class="release-flag"></span>
<span v-if="user.isAdmin && appSettings.latestRelease && appSettings.checkForUpdate" class="release-flag"></span>
<span class="mx-2 has-ellipsis">{{ user.email }}</span>
<FontAwesomeIcon v-if="!showMenu" :icon="['fas', 'bars']" class="mr-2" />
<!-- <button v-else class="delete ml-3"></button> -->