Finishing refactoring

This commit is contained in:
Pieter Vander Vennet 2020-07-20 21:39:07 +02:00
parent 8026e99824
commit 00d95c4be1
8 changed files with 86 additions and 57 deletions

View file

@ -41,7 +41,7 @@ export class ImageUploadFlow extends UIElement {
preferedLicense
);
this._licensePicker = licensePicker;
this._selectedLicence = licensePicker.selectedElement;
this._selectedLicence = licensePicker.GetValue();
const licenseExplanations = {
@ -62,7 +62,7 @@ export class ImageUploadFlow extends UIElement {
}
protected InnerRender(): string {
InnerRender(): string {
if (!this._userdetails.data.loggedIn) {
return "<div class='activate-osm-authentication'>Gelieve je aan te melden om een foto toe te voegen of vragen te beantwoorden</div>";