Clear state of appstore view
This commit is contained in:
@@ -128,7 +128,7 @@ onMounted(async () => {
|
||||
|
||||
defineExpose({
|
||||
open(a) {
|
||||
step.value = STEP.INSTALL;
|
||||
step.value = STEP.DETAILS;
|
||||
app.value = a;
|
||||
manifest.value = a.manifest;
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const appstoreModel = AppstoreModel.create(API_ORIGIN, localStorage.token);
|
||||
|
||||
const ready = ref(false);
|
||||
const apps = ref([]);
|
||||
const search = ref('vpn');
|
||||
const search = ref('');
|
||||
const filteredApps = computed(() => {
|
||||
if (!search.value) return apps.value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user