forked from MapComplete/MapComplete
Save layoutconfigJSON as preferences, the are saved in the morescreen
This commit is contained in:
parent
c874afc745
commit
6cb5803efd
6 changed files with 44 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue