-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change flashes to not use LimitedArray
The way LimitedArray was being used is now forbidden in Ember 3: emberjs/ember.js#16157
- Loading branch information
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{#each messages as |flash|}} | ||
{{flash-item data-test-components-flash-item flash=flash close=(action 'closeMessage')}} | ||
{{/each}} | ||
{{#if messages.firstObject}} | ||
{{flash-item data-test-components-flash-item flash=messages.firstObject close=(action 'closeMessage')}} | ||
{{/if}} |