Add global search, update filters for new filter model

This commit is contained in:
Mark Cooper
2021-09-05 15:22:30 -05:00
parent 7003221703
commit bef59dfea3
10 changed files with 164 additions and 33 deletions
+2 -6
View File
@@ -22,7 +22,7 @@
<p class="font-mono pt-1 pb-4">{{ $config.version }}</p>
<ui-btn v-if="isUpdateAvailable" class="w-full my-4" color="success" @click="clickUpdate"> Version {{ availableVersion }} is available! {{ immediateUpdateAllowed ? 'Update now' : 'Get update from app store' }} </ui-btn>
<ui-btn v-if="isUpdateAvailable" class="w-full my-4" color="success" @click="clickUpdate"> Version {{ availableVersion }} is available! Open App Store</ui-btn>
</div>
</template>
@@ -68,11 +68,7 @@ export default {
this.$router.push('/connect')
},
async clickUpdate() {
if (this.immediateUpdateAllowed) {
await AppUpdate.performImmediateUpdate()
} else {
await AppUpdate.openAppStore()
}
await AppUpdate.openAppStore()
}
},
mounted() {}