feat(container-details): add visual feedback when creating image from container (#2487)

pull/2425/head
baron_l 2018-11-23 23:11:58 +01:00 committed by Anthony Lapenna
parent d510bbbcfd
commit 52788029ed
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ function ($q, $scope, $state, $transition$, $filter, Commit, ContainerHelper, Co
Commit.commitContainer({id: $transition$.params().id, tag: imageConfig.tag, repo: imageConfig.repo}, function () {
update();
Notifications.success('Container commited', $transition$.params().id);
$scope.config.Image = '';
}, function (e) {
update();
Notifications.error('Failure', e, 'Unable to commit container');