Update workflow.tsx to add Loading/Progress indicator while saving the workflow (#11484)

add Loading/Progress indicator while saving the workflow
This commit is contained in:
Hitesh Sisara 2023-09-22 11:16:45 +05:30 committed by GitHub
parent 4e7ab391ff
commit 2648e2770f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ function WorkflowPage() {
CTA={
!readOnly && (
<div>
<Button data-testid="save-workflow" type="submit">
<Button data-testid="save-workflow" type="submit" loading={updateMutation.isLoading}>
{t("save")}
</Button>
</div>