feat(settings): handle clicking on selected buttons in rendering mode and language
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user