Fixing confirm text in second stage of adding app to group modal.
This commit is contained in:
parent
2acdf6b7eb
commit
b71ed1ca82
|
@ -32,8 +32,8 @@
|
||||||
onConfirm={appSelected}
|
onConfirm={appSelected}
|
||||||
size="M"
|
size="M"
|
||||||
title="Add app to group"
|
title="Add app to group"
|
||||||
confirmText="Next"
|
confirmText={selectingRole ? "Confirm" : "Next"}
|
||||||
showSecondaryButton
|
showSecondaryButton={selectingRole}
|
||||||
secondaryButtonText="Back"
|
secondaryButtonText="Back"
|
||||||
secondaryAction={() => (selectingRole = false)}
|
secondaryAction={() => (selectingRole = false)}
|
||||||
disabled={confirmDisabled}
|
disabled={confirmDisabled}
|
||||||
|
|
Loading…
Reference in New Issue