Fix deployment

This commit is contained in:
Pieter Vander Vennet 2020-07-16 22:00:23 +02:00
parent ce4cc244dc
commit 4bfe078836
3 changed files with 7 additions and 9 deletions

View file

@ -3,7 +3,6 @@ import { And, Or, Tag } from "../../Logic/TagsFilter";
import {OperatorTag} from "../Questions/OperatorTag";
import * as L from "leaflet";
import FixedText from "../Questions/FixedText";
import { BikeParkingType } from "../Questions/BikeParkingType";
import {TagRenderingOptions} from "../TagRendering";
import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload";
@ -31,7 +30,6 @@ export class DrinkingWaterLayer extends LayerDefinition {
this.title = new FixedText("Drinking water");
this.elementsToShow = [
new OperatorTag(),
new BikeParkingType()
];
this.elementsToShow = [new ImageCarouselWithUploadConstructor(), new TagRenderingOptions({
question: "How easy is it to fill water bottles?",

View file

@ -8,7 +8,7 @@ export class WalkByBrussels extends Layout {
constructor() {
super("walkbybrussels",
"Drinking Water Spots",
[new DrinkingWaterLayer(), new BikeParkings(), new Park(), new NatureReserves()],
[new DrinkingWaterLayer(), new Park(), new NatureReserves()],
10,
50.8435,
4.3688,

View file

@ -4,7 +4,7 @@
"description": "A small website to edit OSM easily",
"main": "index.js",
"scripts": {
"start": "parcel index.html land.html test.html assets/test.json assets/**/* UI/* Logic/* vendor/*",
"start": "parcel index.html land.html test.html assets/test.json assets/**/* UI/* Logic/** vendor/*",
"build": "rm -rf dist/ && parcel build --public-url ./ index.html land.html assets/* assets/*/*",
"test": "echo \"Error: no test specified\" && exit 1"
},