Skip to content

Commit 1576443

Browse files
committed
fix: cluster title
1 parent 1d32923 commit 1576443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/chat/services/contextService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function useCurrentContext(): ChatContext {
9797
const baseContext: ChatContext = {
9898
currentPage: page || 'unknown',
9999
currentPath: location.pathname,
100-
clusterName: clusterTitle || (query.clusterName as string),
100+
clusterName: (query.clusterName as string) || clusterTitle,
101101
};
102102

103103
const pageSpecificContext = extractPageSpecificContext(

0 commit comments

Comments
 (0)