From 110d9da354585e28320fe7439be9c3688172289d Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Thu, 12 Sep 2024 15:05:49 +0200 Subject: [PATCH] We need to provide simple name for bisect not FQN --- .../src/components/common/sideBar/BisectDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/new-dashboard/src/components/common/sideBar/BisectDialog.vue b/dashboard/new-dashboard/src/components/common/sideBar/BisectDialog.vue index eaad401b..e4043e44 100644 --- a/dashboard/new-dashboard/src/components/common/sideBar/BisectDialog.vue +++ b/dashboard/new-dashboard/src/components/common/sideBar/BisectDialog.vue @@ -155,7 +155,8 @@ if (Array.isArray(changesUnmerged)) { lastCommit.value = changesUnmerged[0] ?? null } const methodName = data.description.value?.methodName ?? "" -const className = methodName.slice(0, Math.max(0, methodName.lastIndexOf("#"))) +const fullClassName = methodName.slice(0, Math.max(0, methodName.lastIndexOf("#"))) +const className = fullClassName.slice(fullClassName.lastIndexOf(".") + 1) const targetValue: Ref = ref(null) const bisectClient = new BisectClient(serverConfigurator)