mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-25 03:11:40 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
16 lines
471 B
JavaScript
16 lines
471 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2016, 2025
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import FlashMessage from 'ember-cli-flash/components/flash-message';
|
|
|
|
export default class FlashMessageComponent extends FlashMessage {
|
|
// override alertType to get Bulma specific prefix
|
|
//https://github.com/poteto/ember-cli-flash/blob/master/addon/components/flash-message.js#L55
|
|
get alertType() {
|
|
const flashType = this.args.flash.type || '';
|
|
return `is-${flashType}`;
|
|
}
|
|
}
|