@indigina/ui-kit 1.1.197 → 1.1.198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7299,7 +7299,7 @@ let KitGridViewsState = class KitGridViewsState {
|
|
|
7299
7299
|
const areViewsEqual = (firstView, secondView) => firstView.title === secondView.title && firstView.type === secondView.type;
|
|
7300
7300
|
const updatedViews = views.map(view => {
|
|
7301
7301
|
const configItem = viewsConfig.find(item => areViewsEqual(item, view)) ?? null;
|
|
7302
|
-
return configItem && { ...view, hidden: configItem.hidden } || view;
|
|
7302
|
+
return configItem && { ...view, hidden: configItem.hidden ?? false } || view;
|
|
7303
7303
|
});
|
|
7304
7304
|
const existingViews = updatedViews.filter(view => viewsConfig.some(config => areViewsEqual(config, view)));
|
|
7305
7305
|
const newViews = updatedViews.filter(view => !viewsConfig.some(config => areViewsEqual(config, view)));
|