forked from MapComplete/MapComplete
feature(usersettings): Add option to show all questions at once
This commit is contained in:
parent
7bd3fcd490
commit
60f3499eb0
10 changed files with 72 additions and 26 deletions
|
@ -40,10 +40,8 @@ export class QueryParameters {
|
|||
deflt: boolean,
|
||||
documentation?: string
|
||||
): UIEventSource<boolean> {
|
||||
return QueryParameters.GetQueryParameter(key, "" + deflt, documentation).sync(
|
||||
(str) => str === "true",
|
||||
[],
|
||||
(b) => "" + b
|
||||
return UIEventSource.asBoolean(
|
||||
QueryParameters.GetQueryParameter(key, "" + deflt, documentation)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue