Fix dismiss of credential permissions routing

This commit is contained in:
gconsidine
2017-07-25 16:30:56 -04:00
parent e904d47122
commit a855b66517
2 changed files with 3 additions and 3 deletions
@@ -16,7 +16,7 @@ function AtPanelController ($state) {
};
vm.dismiss = () => {
$state.go('^');
$state.go(scope.onDismiss || '^');
};
vm.use = child => {
@@ -38,7 +38,7 @@ function atPanel (pathService, _$animate_) {
link: atPanelLink,
scope: {
state: '=',
animate: '@'
onDismiss: '@'
}
};
}