Skip to content

Commit

Permalink
fix(dashboard): remove data-grid attribute in new grid card layout co…
Browse files Browse the repository at this point in the history
…mponent
  • Loading branch information
abhi12299 authored and YounixM committed Sep 13, 2024
1 parent 6c44622 commit d9a31e2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions frontend/src/container/GridCardLayout/GridCardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,7 @@ function GraphLayout(props: GraphLayoutProps): JSX.Element {
}

return (
<CardContainer
className="row-card"
isDarkMode={isDarkMode}
key={id}
data-grid={JSON.stringify(currentWidget)}
>
<CardContainer className="row-card" isDarkMode={isDarkMode} key={id}>
<div className={cx('row-panel')}>
<div style={{ display: 'flex', gap: '6px', alignItems: 'center' }}>
{rowWidgetProperties.collapsed && (
Expand Down Expand Up @@ -544,7 +539,6 @@ function GraphLayout(props: GraphLayoutProps): JSX.Element {
className={isDashboardLocked ? '' : 'enable-resize'}
isDarkMode={isDarkMode}
key={id}
data-grid={JSON.stringify(currentWidget)}
>
<Card
className="grid-item"
Expand Down

0 comments on commit d9a31e2

Please sign in to comment.