diff --git a/ui/src/components/BulmaBreadcrumb.vue b/ui/src/components/BulmaBreadcrumb.vue new file mode 100644 index 0000000..e510e72 --- /dev/null +++ b/ui/src/components/BulmaBreadcrumb.vue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 70de29d..0b6538f 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -2,23 +2,7 @@

Türchen bearbeiten

- + @@ -30,6 +14,7 @@ import { Vue, Options } from "vue-class-component"; import { Rectangle } from "./rects/rectangles"; +import BulmaBreadcrumb from "./BulmaBreadcrumb.vue"; import DoorPlacer from "./door_map/DoorPlacer.vue"; import DoorChooser from "./door_map/DoorChooser.vue"; @@ -40,6 +25,7 @@ type Step = { @Options({ components: { + BulmaBreadcrumb, DoorPlacer, DoorChooser, }, @@ -52,9 +38,5 @@ export default class extends Vue { ]; private current_step = 0; private rectangles: Rectangle[] = []; - - private change_step(next_step: number) { - this.current_step = next_step; - } }