From c67b4a4e515f38923ed11efc674a8a7b8646b74d Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 6 Oct 2025 12:38:05 +0200 Subject: [PATCH] Do not give focus to appstore search input if subscription required dialog is shown --- dashboard/src/views/AppstoreView.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboard/src/views/AppstoreView.vue b/dashboard/src/views/AppstoreView.vue index daf5255e1..53c2d823b 100644 --- a/dashboard/src/views/AppstoreView.vue +++ b/dashboard/src/views/AppstoreView.vue @@ -106,8 +106,11 @@ const categories = [ { id: 'wiki', label: 'Wiki'}, ]; -function onAppInstallDialogClose() { +async function onAppInstallDialogClose() { window.location.href = '#/appstore'; + + await nextTick(); + if (searchInput.value) searchInput.value.$el.focus(); } function onInstall(app) { @@ -162,9 +165,6 @@ async function onHashChange() { confirmLabel: t('main.dialog.close'), }); } - } else { - await nextTick(); - if (searchInput.value) searchInput.value.$el.focus(); } }