Skip to content
Snippets Groups Projects
Commit 7d4078ba authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix: Taking first picture now works (it's rendered)

parent 4310954b
No related branches found
No related tags found
No related merge requests found
......@@ -757,6 +757,7 @@
this.observation.observationId = newObservationId;
this.observation.observationData = '';
this.getNewObservation();
this.observation.observationIllustrationSet = [];
}
else {
this.$router.push('/cropCategory');
......
......@@ -166,6 +166,7 @@
}
// Add the component to the ObservationIllustrationBoard
this.observationIllustrations.push(newObservationIllustration);
this.organizeIllustrationsForRendering(); // Need to do this to ensure the first image is rendered
this.$emit("observationIllustrationSetUpdated", this.observationIllustrations);
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment