1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Update confirm text button when duplicating screens

This commit is contained in:
Andrew Kingston 2022-03-07 10:41:52 +00:00
parent a6cf5852fd
commit 6fbfeaf365
2 changed files with 3 additions and 1 deletions

View file

@ -85,5 +85,6 @@
onConfirm={createDuplicateScreen}
screenName={screen?.props._instanceName}
screenUrl={screen?.routing.route}
confirmText="Duplicate"
/>
</Modal>

View file

@ -9,6 +9,7 @@
export let showProgressCircle = false
export let screenName
export let screenUrl
export let confirmText = "Continue"
let routeError
let touched = false
@ -46,7 +47,7 @@
<ModalContent
size="M"
title={"Enter details"}
confirmText={"Continue"}
{confirmText}
onConfirm={confirmScreenDetails}
{onCancel}
cancelText={"Back"}