mirror of https://github.com/rancher/ui.git
Merge pull request #3489 from codyrancher/array-deprecation
Deprecate array constructor usage
This commit is contained in:
commit
d7d63dce4f
|
|
@ -18,7 +18,7 @@ export default Helper.extend({
|
||||||
let _haystack = this.get('_haystack');
|
let _haystack = this.get('_haystack');
|
||||||
|
|
||||||
if (haystack !== _haystack) {
|
if (haystack !== _haystack) {
|
||||||
_haystack = new EmberA(haystack);
|
_haystack = EmberA(haystack);
|
||||||
this.set('_haystack', _haystack);
|
this.set('_haystack', _haystack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue