Revert "DEV: make pre-initializer a bit safer"

This reverts commit 029a26733a.

This whole experiment is too unstable
This commit is contained in:
Sam Saffron 2019-10-30 18:13:30 +11:00
parent 029a26733a
commit abc21b7734
1 changed files with 0 additions and 5 deletions

View File

@ -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";
}
}