From 71c1368abe2bb07a0377d80b270e4e15ecb48f42 Mon Sep 17 00:00:00 2001 From: rmmayo Date: Thu, 14 Dec 2023 10:40:11 -0500 Subject: [PATCH] #2497 - supply callback for `handleRouteChanged` on `SkillsDisplayJS` --- .../components/inception/InceptionSkills.vue | 3 +- .../myProgress/MyProjectSkillsPage.vue | 3 +- .../components/users/ClientDisplayPreview.vue | 3 +- .../e2e/my-progress_breadcrumb_spec.js | 184 +++++++++++++++++- 4 files changed, 189 insertions(+), 4 deletions(-) diff --git a/dashboard/src/components/inception/InceptionSkills.vue b/dashboard/src/components/inception/InceptionSkills.vue index db4b3c725a..7734ae9426 100644 --- a/dashboard/src/components/inception/InceptionSkills.vue +++ b/dashboard/src/components/inception/InceptionSkills.vue @@ -15,7 +15,7 @@ limitations under the License. */ @@ -47,6 +47,7 @@ limitations under the License. version: this.skillsVersion, options: this.options, theme: this.theme, + handleRouteChanged: (newPath) => { this.skillsDisplayRouteChanged(newPath); }, }); clientDisplay.attachTo(document.querySelector('#skills-client-container')); this.clientDisplay = clientDisplay; diff --git a/dashboard/src/components/myProgress/MyProjectSkillsPage.vue b/dashboard/src/components/myProgress/MyProjectSkillsPage.vue index cacfa1fad2..2eacb6d753 100644 --- a/dashboard/src/components/myProgress/MyProjectSkillsPage.vue +++ b/dashboard/src/components/myProgress/MyProjectSkillsPage.vue @@ -29,7 +29,7 @@ limitations under the License. Contact Project