9fccccb0ec
* move download-button and toolbar-download-button to core addon * add ca model and adapter and show CA on the engine configuration page * add other side of model relationship for kmip ca<->config
22 lines
548 B
JavaScript
22 lines
548 B
JavaScript
/**
|
|
* @module ToolbarSecretLink
|
|
* `ToolbarSecretLink` styles SecretLink for the Toolbar.
|
|
* It should only be used inside of `Toolbar`.
|
|
*
|
|
* @example
|
|
* ```js
|
|
* <Toolbar>
|
|
* <ToolbarActions>
|
|
* <ToolbarDownloadButton @actionText="Download policy" @extension={{if (eq policyType "acl") model.format "sentinel"}} @filename={{model.name}} @data={{model.policy}} />
|
|
* </ToolbarActions>
|
|
* </Toolbar>
|
|
* ```
|
|
*
|
|
*/
|
|
|
|
import DownloadButton from './download-button';
|
|
|
|
export default DownloadButton.extend({
|
|
classNames: ['toolbar-link'],
|
|
});
|