If we have no released version of an app also show an error instead of the app install dialog

This commit is contained in:
Johannes Zellner
2026-03-05 16:27:40 +01:00
parent 57515d54db
commit b972891337

View File

@@ -243,8 +243,8 @@ async function onHashChange() {
const version = params.get('version') || 'latest';
const [error, result] = await appstoreModel.get(appId, version);
if (error) {
console.error(error);
if (error || !result.manifest) {
if (error) console.error(error);
return inputDialog.value.info({
title: t('appstore.appNotFoundDialog.title'),
message: t('appstore.appNotFoundDialog.description', { appId, version }),