vault/ui/lib/pki/addon/controllers/certificates/index.js
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

22 lines
471 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from '@ember/controller';
import { getOwner } from '@ember/application';
import { action } from '@ember/object';
export default class PkiCertificatesIndexController extends Controller {
get mountPoint() {
return getOwner(this).mountPoint;
}
@action setFilter(val) {
this.filter = val;
}
@action setFilterFocus(bool) {
this.filterFocused = bool;
}
}