Files
vault/ui/lib/pki/addon/controllers/certificates/index.js
Chelsea Shaw e345dd8277 UI: add pagination to new PKI (#23193) (#23239)
* UI: add pagination to new PKI (#23193)

* fixes store type import

* fixes tests

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-09-22 10:47:55 -06:00

24 lines
498 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 {
queryParams = ['page'];
get mountPoint() {
return getOwner(this).mountPoint;
}
@action setFilter(val) {
this.filter = val;
}
@action setFilterFocus(bool) {
this.filterFocused = bool;
}
}