comparison client/src/components/fairway/Fairwayprofile.vue @ 3964:afc7bca44df4 diagram-cleanup

client: moved import of DiagramLegend component to diagram mixin
author Markus Kottlaender <markus@intevation.de>
date Fri, 12 Jul 2019 15:18:15 +0200
parents feb53713bc2f
children 2aaa1948b525
comparison
equal deleted inserted replaced
3963:feb53713bc2f 3964:afc7bca44df4
152 const GROUND_COLOR = "#4A2F06"; 152 const GROUND_COLOR = "#4A2F06";
153 const WATER_COLOR = "#005DFF"; 153 const WATER_COLOR = "#005DFF";
154 154
155 export default { 155 export default {
156 mixins: [diagram, pdfgen, templateLoader], 156 mixins: [diagram, pdfgen, templateLoader],
157 components: {
158 DiagramLegend: () => import("@/components/DiagramLegend")
159 },
160 data() { 157 data() {
161 return { 158 return {
162 containerId: "fairwayprofile-diagram-container", 159 containerId: "fairwayprofile-diagram-container",
163 width: null, 160 width: null,
164 height: null 161 height: null