Allow _ in preferences again, version bump
This commit is contained in:
parent
aaaf876257
commit
c6e4ebc347
3 changed files with 2 additions and 3 deletions
|
@ -97,7 +97,7 @@ export class OsmPreferences {
|
|||
|
||||
public GetPreference(key: string, prefix: string = "mapcomplete-"): UIEventSource<string> {
|
||||
key = prefix + key;
|
||||
key = key.replace(/[:\\\/"' {}.%_]/g, '')
|
||||
key = key.replace(/[:\\\/"' {}.%]/g, '')
|
||||
if (key.length >= 255) {
|
||||
throw "Preferences: key length to big";
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Utils } from "../Utils";
|
|||
|
||||
export default class Constants {
|
||||
|
||||
public static vNumber = "0.8.0a";
|
||||
public static vNumber = "0.8.0b";
|
||||
|
||||
// The user journey states thresholds when a new feature gets unlocked
|
||||
public static userJourney = {
|
||||
|
|
|
@ -3,7 +3,6 @@ import Combine from "./UI/Base/Combine";
|
|||
import {Button} from "./UI/Base/Button";
|
||||
import {TextField} from "./UI/Input/TextField";
|
||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
import {UIElement} from "./UI/UIElement";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import {Utils} from "./Utils";
|
||||
import {SubtleButton} from "./UI/Base/SubtleButton";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue