diff --git a/client/src/components/circle/LearningPathDiagram.vue b/client/src/components/circle/LearningPathDiagram.vue index 27fc6919..6d98e54f 100644 --- a/client/src/components/circle/LearningPathDiagram.vue +++ b/client/src/components/circle/LearningPathDiagram.vue @@ -43,7 +43,7 @@ export default { }, width: { - default: 1440, + default: 1640, type: Number, }, height: { diff --git a/client/src/stores/circle.ts b/client/src/stores/circle.ts index 9cae128f..456a7800 100644 --- a/client/src/stores/circle.ts +++ b/client/src/stores/circle.ts @@ -29,6 +29,7 @@ export const useCircleStore = defineStore({ }, actions: { async loadCircle(slug: string) { + this.circle = undefined; try { // const circleData = await itGet(`/learnpath/api/circle/${slug}/`); // this.circle = Circle.fromJson(circleData); diff --git a/client/src/views/LearningPathView.vue b/client/src/views/LearningPathView.vue index ac36c36f..071cc8f5 100644 --- a/client/src/views/LearningPathView.vue +++ b/client/src/views/LearningPathView.vue @@ -30,8 +30,8 @@ onMounted(async () => {