diff --git a/dashboard/src/components/CommunityAppDialog.vue b/dashboard/src/components/CommunityAppDialog.vue index 3ac512812..fd1d2773d 100644 --- a/dashboard/src/components/CommunityAppDialog.vue +++ b/dashboard/src/components/CommunityAppDialog.vue @@ -14,6 +14,7 @@ const form = useTemplateRef('form'); const formError = ref({}); const versionsUrl = ref(''); const busy = ref(false); +const unstable = ref(false); const isFormValid = ref(false); function validateForm() { @@ -34,8 +35,10 @@ async function onSubmit() { return console.error(error); } + unstable.value = !!result.unstable; + const packageData = { - ...result, // { manifest, publishState, creationDate, ts, versionsUrl } + ...result, // { manifest, publishState, creationDate, ts, unstable, versionsUrl } versionsUrl: result.versionsUrl, iconUrl: result.manifest.iconUrl // compat with app store format }; @@ -50,6 +53,7 @@ defineExpose({ open() { versionsUrl.value = ''; formError.value = {}; + unstable.value = false; dialog.value.open(); } }); @@ -72,6 +76,7 @@ defineExpose({