feat(settings): handle clicking on selected buttons in rendering mode and language

This commit is contained in:
2026-02-10 16:42:07 +01:00
parent a95feb223e
commit 8502d1d8dc
2 changed files with 2 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ const { selected, selectorPosition } = useButtonNavigation({
initialButton:
BUTTON_KEYS[locales.value.findIndex((l) => l.code === locale.value)] ??
BUTTON_KEYS[0]!,
onButtonClick: () => handleActivateA(),
navigation: {
english: {
right: "german",
@@ -207,7 +208,6 @@ defineOptions({
:b-label="$t('common.cancel')"
:a-label="$t('common.confirm')"
@activate-b="handleActivateB"
@activate-a="handleActivateA"
/>
<CommonButtonSelector