vault/ui/app/services/flash-messages.ts
claire bontempo e97371680c
Re-add custom flash service so engines can extend cluster's template (#19963)
* Revert "UI: Remove custom service (#19925)"

This reverts commit b04751d224.

* replace stickyInfo with options info

* revert replacing custom stickyInfo

* change flash message name to be consistent throughout application

* make service imports consistent for k8 engine

* replace stickyInfo with options info

* Revert "change flash message name to be consistent throughout application"

This reverts commit 17de49894d.

* add comment

---------

Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
2023-04-03 13:13:59 -06:00

14 lines
412 B
TypeScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import FlashMessages from 'ember-cli-flash/services/flash-messages';
/*
we extend the ember-cli-flash service here so each ember engine can
import 'flash-messages' as a dependency giving it access to the
<FlashMessage> template in the main app's cluster.hbs file
*/
export default class FlashMessageService extends FlashMessages {}