vault/ui/lib/kmip/addon/components/kmip-breadcrumb.js
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

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

21 lines
486 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@ember/component';
import { inject as service } from '@ember/service';
import layout from '../templates/components/kmip-breadcrumb';
import { or } from '@ember/object/computed';
export default Component.extend({
layout,
tagName: '',
secretMountPath: service(),
shouldShowPath: or('showPath', 'scope', 'role'),
showPath: false,
path: null,
scope: null,
role: null,
});