frontend: update navigation config to conditionally show cancel and back buttons based on edit mode
This commit is contained in:
parent
79eb690713
commit
854ab8c435
@ -360,8 +360,8 @@ export class RoomWizardStateService {
|
|||||||
return {
|
return {
|
||||||
showPrevious: !isFirstStep,
|
showPrevious: !isFirstStep,
|
||||||
showNext: !isLastStep,
|
showNext: !isLastStep,
|
||||||
showCancel: false,
|
showCancel: isEditMode,
|
||||||
showBack: true,
|
showBack: !isEditMode,
|
||||||
showFinish: isLastStep,
|
showFinish: isLastStep,
|
||||||
showSkipAndFinish: false, // Skip and finish is not used in this wizard
|
showSkipAndFinish: false, // Skip and finish is not used in this wizard
|
||||||
disableFinish: isSomeStepInvalid,
|
disableFinish: isSomeStepInvalid,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user