Fix expanded view not persisting when a user copies a JT/WF.

This commit is contained in:
Kia Lam 2019-01-28 12:05:43 -05:00 committed by kialam
parent 5db43b8283
commit 6f9cf6a649
No known key found for this signature in database
GPG Key ID: 2D0E60E4B8C7EA0F

View File

@ -234,7 +234,7 @@ function ListTemplatesController(
dismissButton: false,
dismissOnTimeout: true
});
$state.go('.', null, { reload: true });
refreshTemplates();
})
.catch(createErrorHandler('copy job template', 'POST'))
.finally(() => Wait('stop'));
@ -264,7 +264,7 @@ function ListTemplatesController(
dismissButton: false,
dismissOnTimeout: true
});
$state.go('.', null, { reload: true });
refreshTemplates();
})
.catch(createErrorHandler('copy workflow', 'POST'))
.finally(() => Wait('stop'));