forked from MapComplete/MapComplete
Fixes to import flow
This commit is contained in:
parent
2c1144cf10
commit
bce8ae3e34
4 changed files with 32 additions and 16 deletions
|
|
@ -4,13 +4,14 @@ import {UIEventSource} from "../../Logic/UIEventSource";
|
|||
import Translations from "../i18n/Translations";
|
||||
import Title from "../Base/Title";
|
||||
import {CreateNotes} from "./CreateNotes";
|
||||
import {FixedUiElement} from "../Base/FixedUiElement";
|
||||
|
||||
export default class Introdution extends Combine implements FlowStep<void> {
|
||||
readonly IsValid: UIEventSource<boolean>;
|
||||
readonly Value: UIEventSource<void>;
|
||||
|
||||
constructor() {
|
||||
const example = CreateNotes.createNoteContents({
|
||||
const example = CreateNotes.createNoteContentsUi({
|
||||
properties:{
|
||||
"some_key":"some_value",
|
||||
"note":"a note in the original dataset"
|
||||
|
|
@ -23,7 +24,7 @@ export default class Introdution extends Combine implements FlowStep<void> {
|
|||
intro: "There might be an XYZ here",
|
||||
theme: "theme",
|
||||
source: "source of the data"
|
||||
})
|
||||
}).map(el => el === "" ? new FixedUiElement("").SetClass("block") : el)
|
||||
|
||||
super([
|
||||
new Title(Translations.t.importHelper.introduction.title),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue