Commit 5e9370eb authored by dagal's avatar dagal
Browse files

Listen to a warning from Vue for once :-)

parent 052678b9
......@@ -15,17 +15,11 @@
export default {
name: "XYAreaPopup",
components: {PulseLoader},
props: {
startStops: {
//required: true
},
endStops: {
//required: true
}
},
data() {
return {
isLoading: true,
startStops: [],
endStops: []
}
},
asyncComputed: {
......
......@@ -156,8 +156,8 @@ let app = new Vue({
let [arrow, arrowDecorator] = this.makeArrow(this.selectedBounds.getCenter(), bounds.getCenter());
arrow.bindPopup(() => {
app.$refs.hiddenXYAreaPopup.$props.startStops = this.selectedStops;
app.$refs.hiddenXYAreaPopup.$props.endStops = selectedIds;
app.$refs.hiddenXYAreaPopup.$data.startStops = this.selectedStops;
app.$refs.hiddenXYAreaPopup.$data.endStops = selectedIds;
return app.$refs.hiddenXYAreaPopup.$el;
}, { maxWidth: "auto" });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment