This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 12912dfe4 fix(gitlab) - fix added to get pathWithNamespace to render
in UI (#9153)
12912dfe4 is described below
commit 12912dfe4f24af4cf545eb8e2b4c34f430c1e3d6
Author: Veet Moradiya <[email protected]>
AuthorDate: Mon Sep 21 17:16:21 2026 +0530
fix(gitlab) - fix added to get pathWithNamespace to render in UI (#9153)
---
config-ui/src/plugins/utils.ts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/config-ui/src/plugins/utils.ts b/config-ui/src/plugins/utils.ts
index b18bdb7ae..5ab07453f 100644
--- a/config-ui/src/plugins/utils.ts
+++ b/config-ui/src/plugins/utils.ts
@@ -87,6 +87,10 @@ export const getPluginScopeName = (plugin: string, scope:
any) => {
return rawId;
}
+ if (plugin === 'gitlab') {
+ return `${scope.pathWithNamespace ?? scope.fullName ?? scope.name ??
scope.id ?? ''}`;
+ }
+
return `${scope.fullName ?? scope.name ?? scope.id ?? ''}`;
};