FIX: Do not stringify null parameters (#151)
Sometimes the query page did not load if one of the query was null because it called null.toString() and raised an exception.
This commit is contained in:
@@ -58,7 +58,7 @@ export default Ember.Component.extend({
|
||||
return this.params[this.get("info.identifier")];
|
||||
},
|
||||
set(key, value) {
|
||||
this.params[this.get("info.identifier")] = value.toString();
|
||||
this.params[this.get("info.identifier")] = value?.toString();
|
||||
return value;
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user