Skip to content

Commit

Permalink
Fix import for LayerDetailView plugin (#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuren1 authored Dec 4, 2024
1 parent b7fa4b1 commit eef1d52
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion geonode_mapstore_client/client/js/plugins/LayerDetailViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,18 @@ import { hashLocationToHref } from '@js/utils/SearchUtils';
import { mapSelector } from '@mapstore/framework/selectors/map';
import { parsePluginConfigExpressions } from '@js/utils/MenuUtils';
import tooltip from '@mapstore/framework/components/misc/enhancers/tooltip';
import tabComponents from '@js/plugins/detailviewer/tabComponents';

import DetailsLocations from '@js/components/DetailsPanel/DetailsLocations';
import DetailsAssets from '@js/components/DetailsPanel/DetailsAssets';
import DetailsAttributeTable from '@js/components/DetailsPanel/DetailsAttributeTable';
import DetailsLinkedResources from '@js/components/DetailsPanel/DetailsLinkedResources';

const tabComponents = {
'attribute-table': DetailsAttributeTable,
'linked-resources': DetailsLinkedResources,
'locations': DetailsLocations,
'assets': DetailsAssets
};

const Button = tooltip(GNButton);

Expand Down

0 comments on commit eef1d52

Please sign in to comment.