feat(ui): accept button on workflow load dialog is "Load"

This commit is contained in:
psychedelicious
2025-03-12 18:37:34 +10:00
parent 21be7d7157
commit 523a932ecc
2 changed files with 2 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ export const LoadWorkflowConfirmationAlertDialog = memo(() => {
title={t('nodes.loadWorkflow')}
acceptCallback={loadWorkflow.loadImmediate}
useInert={false}
acceptButtonText={t('common.load')}
>
<Flex flexDir="column" gap={2}>
<Text>{t('nodes.loadWorkflowDesc')}</Text>

View File

@@ -59,6 +59,7 @@ export const NewWorkflowConfirmationAlertDialog = memo(() => {
title={t('nodes.newWorkflow')}
acceptCallback={newWorkflow.createImmediate}
useInert={false}
acceptButtonText={t('common.load')}
>
<Flex flexDir="column" gap={2}>
<Text>{t('nodes.newWorkflowDesc')}</Text>