mapcomplete/Customizations/Questions/BikePumpOperationalStatus.ts
Pieter Vander Vennet 19acba61d2 Change in tagfilters
2020-07-16 14:21:06 +02:00

15 lines
604 B
TypeScript

import {TagDependantUIElement} from "../UIElementConstructor";
import {TagRenderingOptions} from "../TagRendering";
import {Tag} from "../../Logic/TagsFilter";
export class BikePumpOperationalStatus extends TagRenderingOptions{
constructor() {
super({
question: "Is the bicycle pump still operational?",
mappings: [
{k: new Tag("service:bicycle:pump:operational_status","broken"), txt: "This pump is broken"},
{k: new Tag("service:bicycle:pump:operational_status",""), txt: "This pump is operational"}
]
});
}
}