diff --git a/source/components/Layout/VisGridView/SideView/SideView.js b/source/components/Layout/VisGridView/SideView/SideView.js
index b1e891e..1815647 100644
--- a/source/components/Layout/VisGridView/SideView/SideView.js
+++ b/source/components/Layout/VisGridView/SideView/SideView.js
@@ -87,6 +87,8 @@ function SideView({ fullVisScreenHandler, fullScreened, designation }) {
operation={item}
toggleFullScreen={fullVisScreenHandler}
fullScreened={fullScreened}
+ isCollapsed={index!=0}
+ index={index}
/>
))}
diff --git a/source/components/Layout/VisGridView/SideView/VisItem/VisItem.js b/source/components/Layout/VisGridView/SideView/VisItem/VisItem.js
index 137a67a..1cb82b9 100644
--- a/source/components/Layout/VisGridView/SideView/VisItem/VisItem.js
+++ b/source/components/Layout/VisGridView/SideView/VisItem/VisItem.js
@@ -30,6 +30,11 @@ function VisItem(props) {
if (props.fullScreened) setHover(true);
}, [props.fullScreened]);
+ useEffect(() => {
+ if (props.isCollapsed) setIsCollapsed(true);
+ }, [props.isCollapsed]);
+
+ console.log([props.index, props.isCollapsed, props.operation.title])
return (
import('../../../../../VisualTools/Chart/PieChart'));
const BarChart = React.lazy(() => import('../../../../../VisualTools/Chart/BarChart'));
const KMCurve = React.lazy(() => import('../../../../../VisualTools/Chart/KMCurve'));
-const EnumList = React.lazy(() => import('../../../../../VisualTools/Chart/EnumList'));
const HorizontalBarChart = React.lazy(() => import('../../../../../VisualTools/Chart/HorizontalBarChart'));
const ScatterChart = React.lazy(() => import('../../../../../VisualTools/Chart/ScatterChart'));
const VisDataTable = React.lazy(() => import('../../../../../VisualTools/VisDataTable/VisDataTable'));
-const VisCard = React.lazy(() => import('../../../../../VisualTools/VisGridCard/VisGridCard'));
const Histogram = React.lazy(() => import('../../../../../VisualTools/Chart/Histogram'));
const DensityChart = React.lazy(() => import('../../../../../VisualTools/Chart/DensityChart'));
const ParallelCoordinates = React.lazy(() => import('../../../../../VisualTools/Chart/ParallelCoordinates'));
const Heatmap = React.lazy(() => import('../../../../../VisualTools/Chart/Heatmap'));
+const VisGridCard = React.lazy(() => import('../../../../../VisualTools/VisGridCard/VisGridCard'));
function VisItemContent(props) {
const TagName = VisTypeComponents[props.chartType];
@@ -32,9 +31,6 @@ function VisItemContent(props) {
case 'BarChart':
component =
;
break;
- case 'EnumList':
- component =
;
- break;
case 'KMCurve':
component =
;
break;
@@ -44,8 +40,8 @@ function VisItemContent(props) {
case 'VisDataTable':
component =
;
break;
- case 'VisCard':
- component =
;
+ case 'VisGridCard':
+ component =
;
break;
case 'Histogram':
component =
;
diff --git a/source/components/Layout/VisGridView/SideView/VisItem/VisItemControl/VisItemControl.js b/source/components/Layout/VisGridView/SideView/VisItem/VisItemControl/VisItemControl.js
index 0ce52e2..0afc9c5 100644
--- a/source/components/Layout/VisGridView/SideView/VisItem/VisItemControl/VisItemControl.js
+++ b/source/components/Layout/VisGridView/SideView/VisItem/VisItemControl/VisItemControl.js
@@ -29,7 +29,7 @@ function VisItemControl(props) {
}
return (
- {(props.hover || show) && (
+ {(props.hover || show || true) && (
{btnFilterRemove}
-
)}
diff --git a/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.css b/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.css
index e24b8be..cdcd323 100644
--- a/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.css
+++ b/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.css
@@ -19,7 +19,3 @@
text-align: left !important;
font-weight: bold;
}
-
-.name-header.draggable {
- cursor: move;
-}
diff --git a/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.js b/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.js
index 930d720..6532868 100644
--- a/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.js
+++ b/source/components/Layout/VisGridView/SideView/VisItem/VisItemHeader/VisItemHeader.js
@@ -9,11 +9,6 @@ function VisItemHeader(props) {
const { config } = useContext(ConfigContext);
const { THEME_COLOR: color } = config;
- let dragHeader = 'name-header';
- if (config.DRAGGABLE) {
- dragHeader = 'name-header draggable';
- }
-
return (
-
+
diff --git a/source/components/Layout/VisGridView/VisGridItem/VisGridItemContent/VisGridItemContent.js b/source/components/Layout/VisGridView/VisGridItem/VisGridItemContent/VisGridItemContent.js
index bb5b76c..ddc3afe 100644
--- a/source/components/Layout/VisGridView/VisGridItem/VisGridItemContent/VisGridItemContent.js
+++ b/source/components/Layout/VisGridView/VisGridItem/VisGridItemContent/VisGridItemContent.js
@@ -8,7 +8,6 @@ import VisTypeComponents from '../../../../VisualTools/VisTypeComponents';
const PieChart = React.lazy(() => import('../../../../VisualTools/Chart/PieChart'));
const BarChart = React.lazy(() => import('../../../../VisualTools/Chart/BarChart'));
-const EnumList = React.lazy(() => import('../../../../VisualTools/Chart/EnumList'));
const KMCurve = React.lazy(() => import('../../../../VisualTools/Chart/KMCurve'));
const HorizontalBarChart = React.lazy(() => import('../../../../VisualTools/Chart/HorizontalBarChart'));
const ScatterChart = React.lazy(() => import('../../../../VisualTools/Chart/ScatterChart'));
@@ -32,9 +31,6 @@ function VisGridItemContent(props) {
case 'BarChart':
component =
;
break;
- case 'EnumList':
- component =
;
- break;
case 'KMCurve':
component =
;
break;