feat(common): handleConfirm -> handleActivateA, handleCancel -> handleActivateB

This commit is contained in:
2026-02-10 15:30:08 +01:00
parent ca05d0ea65
commit 38b36d0e1c
12 changed files with 60 additions and 63 deletions

View File

@@ -67,13 +67,13 @@ onMounted(() => {
animateIntro();
});
const handleCancel = async () => {
const handleActivateB = async () => {
if (isAnimating.value) return;
await animateOutro();
store.closeSubMenu();
};
const handleConfirm = async () => {
const handleActivateA = async () => {
if (isAnimating.value) return;
await animateOutro();
store.closeSubMenu();
@@ -130,7 +130,7 @@ defineOptions({ render: () => null });
:y-offset="store.submenuButtonsOffsetY"
:b-label="$t('common.cancel')"
:a-label="$t('common.confirm')"
@activate-b="handleCancel"
@activate-a="handleConfirm"
@activate-b="handleActivateB"
@activate-a="handleActivateA"
/>
</template>