Merge branch 'develop' into api-kafka

This commit is contained in:
Shivanshu Raj Shrivastava 2024-08-06 16:30:30 +05:30 committed by GitHub
commit 5cedd57aa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -43,6 +43,10 @@
background: var(--bg-ink-400);
cursor: pointer;
.dashboard-title {
color: var(--bg-vanilla-100);
}
.title-with-action {
display: flex;
justify-content: space-between;
@ -1048,6 +1052,10 @@
border: 1px solid var(--bg-vanilla-200);
background: var(--bg-vanilla-100);
.dashboard-title {
color: var(--bg-slate-300);
}
.title-with-action {
.dashboard-title {
.ant-typography {

View File

@ -66,7 +66,7 @@ import {
} from 'react';
import { useTranslation } from 'react-i18next';
import { useSelector } from 'react-redux';
import { generatePath } from 'react-router-dom';
import { generatePath, Link } from 'react-router-dom';
import { useCopyToClipboard } from 'react-use';
import { AppState } from 'store/reducers';
import { Dashboard } from 'types/api/dashboard/getAll';
@ -455,7 +455,9 @@ function DashboardsList(): JSX.Element {
alt="dashboard-image"
/>
<Typography.Text data-testid={`dashboard-title-${index}`}>
{dashboard.name}
<Link to={getLink()} className="dashboard-title">
{dashboard.name}
</Link>
</Typography.Text>
</div>