Working example with rerendering of LearningPathDiagram
This commit is contained in:
parent
4111e26828
commit
05e6906878
|
|
@ -46,8 +46,6 @@ export default {
|
|||
}
|
||||
|
||||
if (this.learningPath) {
|
||||
console.log("#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#");
|
||||
console.log(this.learningPath);
|
||||
const internalCircles = [];
|
||||
this.learningPath.circles.forEach((circle) => {
|
||||
const pieWeights = new Array(
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ const emits = defineEmits(["closemodal"]);
|
|||
<LearningPathDiagram
|
||||
v-if="learningPathStore.learningPath"
|
||||
class="w-full"
|
||||
identifier="verticalVisualization"
|
||||
:identifier="`verticalVisualization-${learningPathStore.learningPath.slug}`"
|
||||
:vertical="true"
|
||||
></LearningPathDiagram>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ const createContinueUrl = (learningPath: LearningPath): [string, boolean] => {
|
|||
</div>
|
||||
<LearningPathDiagram
|
||||
class="mx-auto max-w-[1920px] max-h-[380px] w-full px-4"
|
||||
identifier="mainVisualization"
|
||||
:identifier="`mainVisualization-${learningPathStore.learningPath.slug}`"
|
||||
:vertical="false"
|
||||
></LearningPathDiagram>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue