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:
Bianca Nenciu
2022-01-17 13:45:40 +02:00
committed by GitHub
parent 58cfe737f7
commit c6dd79c805
3 changed files with 31 additions and 3 deletions
@@ -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;
},
}),