From 4bfe0788367d82835cf771fb7bf07453240ae8b1 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 16 Jul 2020 22:00:23 +0200 Subject: [PATCH] Fix deployment --- Customizations/Layers/DrinkingWater.ts | 12 +++++------- Customizations/Layouts/WalkByBrussels.ts | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Customizations/Layers/DrinkingWater.ts b/Customizations/Layers/DrinkingWater.ts index 56984a3..7ef23f5 100644 --- a/Customizations/Layers/DrinkingWater.ts +++ b/Customizations/Layers/DrinkingWater.ts @@ -1,11 +1,10 @@ -import { LayerDefinition } from "../LayerDefinition"; -import { And, Or, Tag } from "../../Logic/TagsFilter"; -import { OperatorTag } from "../Questions/OperatorTag"; +import {LayerDefinition} from "../LayerDefinition"; +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"; +import {TagRenderingOptions} from "../TagRendering"; +import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload"; export class DrinkingWaterLayer extends LayerDefinition { @@ -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?", diff --git a/Customizations/Layouts/WalkByBrussels.ts b/Customizations/Layouts/WalkByBrussels.ts index 88126a1..6ac1382 100644 --- a/Customizations/Layouts/WalkByBrussels.ts +++ b/Customizations/Layouts/WalkByBrussels.ts @@ -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, diff --git a/package.json b/package.json index 6140d8b..8c40df3 100644 --- a/package.json +++ b/package.json @@ -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" },