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"}