Merge branch 'develop' into feature-add-principals
This commit is contained in:
7 files changed
+5
-7
No files matched your search
@@ -62,7 +62,6 @@ export default class ScopesScopeProjectsProjectTargetsTargetHostSetsRoute extend
|
||||
await target.removeHostSet(hostSet.id);
|
||||
this.refresh();
|
||||
this.notify.success(this.intl.t('notify.delete-success'));
|
||||
this.transitionTo('scopes.scope.projects.project.targets.target.host-sets');
|
||||
} catch (error) {
|
||||
// TODO: replace with translated strings
|
||||
this.notify.error(error.message, { closeAfter: null });
|
||||
|
||||
@@ -54,7 +54,6 @@ export default class ScopesScopeRolesRolePrincipalsRoute extends Route {
|
||||
await role.removePrincipal(principal.id);
|
||||
this.refresh();
|
||||
this.notify.success(this.intl.t('notify.delete-success'));
|
||||
this.transitionTo('scopes.scope.roles.role.principals');
|
||||
} catch (error) {
|
||||
// TODO: replace with translated strings
|
||||
this.notify.error(error.message, { closeAfter: null });
|
||||
|
||||
@@ -28,11 +28,11 @@
|
||||
<Rose::Dropdown
|
||||
@icon="more-horizontal"
|
||||
@iconOnly={{true}}
|
||||
@showCaret={{false}}
|
||||
@dropdownRight={{true}}
|
||||
@text="{{t "actions.manage"}}" as |dropdown|
|
||||
>
|
||||
<dropdown.button
|
||||
name="{{t "actions.remove"}}"
|
||||
@style="danger"
|
||||
{{on "click" (route-action "removeHostSet" @model hostSet.model)}}
|
||||
>
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
<Rose::Dropdown
|
||||
@icon="more-horizontal"
|
||||
@iconOnly={{true}}
|
||||
@showCaret={{false}}
|
||||
@dropdownRight={{true}}
|
||||
@text="{{t "actions.manage"}}" as |dropdown|
|
||||
>
|
||||
<dropdown.button
|
||||
name="{{t "actions.remove"}}"
|
||||
@style="danger"
|
||||
{{on "click" (route-action "removePrincipal" principal.model)}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user