Display "Submit" instead of "Update" during the initial Telemetry
configuration flow. Existing Telemetry configurations continue to
display "Update".
Fixes: https://tracker.ceph.com/issues/78694
Signed-off-by: Anurag Raut <anuragtraut08@ibm.com>
(submitActionEvent)="onSubmit()"
(backActionEvent)="back()"
[form]="previewForm"
- [submitText]="actionLabels.UPDATE"
+ [submitText]="moduleEnabled ? actionLabels.UPDATE : actionLabels.SUBMIT"
[cancelText]="actionLabels.BACK"
></cd-form-button-panel>
</div>
$localize`An Error occurred while updating the Telemetry module configuration.\
Please Try again`
);
- // Reset the 'Update' button.
+ // Reset the submit button.
this.previewForm.setErrors({ cdSubmitButton: true });
},
() => {