You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor bs-alert to remove @localcopy and avoid mutation after consumption error in Ember canary (ember-bootstrap#2027)
* Refactor bs-alert to remove @localcopy
The `@localCopy` decorate caused issues on Ember canary builds.
By refactoring this component to use pure Ember reactivity we can get
rid of the decorator.
* Allow re-enabling of alert using property after hiding it by clicking
* This is an unfortunate duplication of the previous property, but this is untracked to avoid causing the dreaded "same computation" assertion in GlimmerVM when reading a tracked property before setting it.
79
-
* @private
80
-
*/
81
-
_hidden=!this.visible;
82
-
83
76
/**
84
77
* This property controls if the alert should be visible. If false it might still be in the DOM until the fade animation
0 commit comments