Revert "DEV: make pre-initializer a bit safer"
This reverts commit 029a26733a
.
This whole experiment is too unstable
This commit is contained in:
parent
029a26733a
commit
abc21b7734
|
@ -11,11 +11,6 @@ export default {
|
|||
"custom_fields.enable_unassigned_filter",
|
||||
{
|
||||
get(fieldName) {
|
||||
// not sure how this is possible but appears to happen in some cases
|
||||
// in test
|
||||
if (!this && !this.custom_fields) {
|
||||
return false;
|
||||
}
|
||||
return Ember.get(this.custom_fields, fieldName) === "true";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue