Save layoutconfigJSON as preferences, the are saved in the morescreen

This commit is contained in:
Pieter Vander Vennet 2022-02-14 15:41:14 +01:00
parent c874afc745
commit 6cb5803efd
6 changed files with 44 additions and 10 deletions

View file

@ -105,8 +105,9 @@ export default class FilterConfig {
if(this.options.length > 1){
defaultValue = ""+this.defaultSelection
}else{
// Only a single option
if(this.defaultSelection > 0){
defaultValue = ""+this.defaultSelection
defaultValue = "true"
}
}
const qp = QueryParameters.GetQueryParameter("filter-" + this.id, defaultValue, "State of filter " + this.id)