vault/ui/lib/pki/addon/controllers/issuers/index.js
Angel Garbarino 88a69457e1
PKI Issuer List view (#17210)
* initial setup for issuers toolbar and some slight changes to roles model after discussion with design.

* wip

* wip ... :/

* finalizes serializer and linkedblock iteration of is_default

* clean up

* fix

* forgot this bit

* pr comments amendments:

* small PR comment changes
2022-09-20 09:25:57 -06:00

11 lines
378 B
JavaScript

import Controller from '@ember/controller';
import { action } from '@ember/object';
import { next } from '@ember/runloop';
export default class PkiRolesIssuerController extends Controller {
// To prevent production build bug of passing D.actions to on "click": https://github.com/hashicorp/vault/pull/16983
@action onLinkClick(D) {
next(() => D.actions.close());
}
}