mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Move SecretListHeader and SecretListHeaderTab to addon folder (#16981)
* move two components to add on and create new helper for engines * change nmae of options-for-backend. will need conditional in template * move options for backend * pass through isEngine to secretListHeaderTab * secret list header remove comments * conditional options-for-backend * missing part for documentation * pr comments cleanup * cleanup * cleanup * cleanup
This commit is contained in:
@@ -16,12 +16,14 @@ import { encodePath } from 'vault/utils/path-encoding-helpers';
|
||||
* @param {string} [root=null] - Used to set the secretPath.
|
||||
* @param {boolean} [showCurrent=true] - Boolean to show the second part of the breadcrumb, ex: the secret's name.
|
||||
* @param {boolean} [linkToPaths=true] - If true link to the path.
|
||||
* @param {boolean} [isEngine=false] - Change the LinkTo if the path is coming from an engine.
|
||||
*/
|
||||
|
||||
export default class KeyValueHeader extends Component {
|
||||
get showCurrent() {
|
||||
return this.args.showCurrent || true;
|
||||
}
|
||||
|
||||
get linkToPaths() {
|
||||
return this.args.linkToPaths || true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user