Skip to content

Commit 1c8a6c0

Browse files
fix(Cluster): use cluster name if title is empty string (#2452)
1 parent a106b5e commit 1c8a6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/reducers/cluster/cluster.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export function useClusterBaseInfo() {
147147
// Name: ydb_vla_dev02
148148
// Title: YDB DEV VLA02
149149
const clusterName = name ?? clusterNameFromQuery ?? undefined;
150-
const clusterTitle = title ?? clusterName;
150+
const clusterTitle = title || clusterName;
151151

152152
return {
153153
...data,

0 commit comments

Comments
 (0)