Allow toerisme vlaanderen to create import notes
This commit is contained in:
parent
91ca538822
commit
3db57ebb2d
3 changed files with 13 additions and 1 deletions
|
@ -17,9 +17,11 @@ export default class LoginToImport extends Combine implements FlowStep<UserRelat
|
|||
readonly IsValid: UIEventSource<boolean>;
|
||||
readonly Value: UIEventSource<UserRelatedState>;
|
||||
|
||||
private static readonly whitelist = [15015689];
|
||||
|
||||
constructor(state: UserRelatedState) {
|
||||
const t = Translations.t.importHelper
|
||||
const isValid = state.osmConnection.userDetails.map(ud => ud.csCount >= Constants.userJourney.importHelperUnlock)
|
||||
const isValid = state.osmConnection.userDetails.map(ud => LoginToImport.whitelist.indexOf(ud.uid) >= 0 || ud.csCount >= Constants.userJourney.importHelperUnlock)
|
||||
super([
|
||||
new Title(t.userAccountTitle),
|
||||
new LoginToggle(
|
||||
|
|
BIN
assets/themes/toerisme_vlaanderen/avatar.png
Normal file
BIN
assets/themes/toerisme_vlaanderen/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Toerisme Vlaanderen"
|
||||
],
|
||||
"path": "avatar.png",
|
||||
"license": "Logo",
|
||||
"sources": [
|
||||
"https://toerismevlaanderen.be/"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue