Files
vault/ui/lib/core/addon/helpers/new-line-split.js
Kianna 47024f060c UI: Fix bugs in custom messages (#25169)
* Fix bugs in custom messages

* Add new line split helper file

* Fix multiple banner issue

* Code cleanup

* Add tests

* Add more tests

* Remove empty state action

* Remove test
2024-02-05 09:08:10 -08:00

13 lines
238 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { helper } from '@ember/component/helper';
export function newLineSplit([lines]) {
return lines.split('\n');
}
export default helper(newLineSplit);