Fix: android auto requirements, Change: New UI #33

This commit is contained in:
advplyr
2021-11-14 19:59:34 -06:00
parent bf8e48fd27
commit 0abefbd9bc
43 changed files with 2336 additions and 308 deletions
+8 -1
View File
@@ -26,7 +26,7 @@
<ui-btn v-if="!isUpdateAvailable || immediateUpdateAllowed" class="w-full my-4" color="primary" @click="openAppStore">Open app store</ui-btn>
<p>UA: {{ updateAvailability }} | Avail: {{ availableVersion }} | Curr: {{ currentVersion }} | ImmedAllowed: {{ immediateUpdateAllowed }}</p>
<p class="text-xs text-gray-400">UA: {{ updateAvailability }} | Avail: {{ availableVersion }} | Curr: {{ currentVersion }} | ImmedAllowed: {{ immediateUpdateAllowed }}</p>
</div>
</template>
@@ -34,11 +34,18 @@
import { AppUpdate } from '@robingenz/capacitor-app-update'
export default {
asyncData({ redirect, store }) {
if (!store.state.socketConnected) {
return redirect('/connect')
}
return {}
},
data() {
return {}
},
computed: {
username() {
if (!this.user) return ''
return this.user.username
},
user() {