File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
geonode_mapstore_client/client/js/plugins/ActionNavbar Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ import { exportDataResultsControlEnabledSelector, checkingExportDataEntriesSelec
3131import { currentLocaleSelector } from '@mapstore/framework/selectors/locale' ;
3232import { checkExportDataEntries , removeExportDataResult } from '@mapstore/framework/actions/layerdownload' ;
3333import ExportDataResultsComponent from '@mapstore/framework/components/data/download/ExportDataResultsComponent' ;
34- import FlexBox from '@mapstore/framework/components/layout/FlexBox' ;
35- import Spinner from '@mapstore/framework/components/layout/Spinner' ;
36- import { getCurrentResourceCopyLoading , getCurrentResourceClonedUrl } from '@js/selectors/resourceservice' ;
3734
3835// buttons override to use in ActionNavbar for plugin imported from mapstore
3936
@@ -196,30 +193,3 @@ export const AddWidgetActionButton = connect(
196193 </ Button >
197194 ) ;
198195} ) ;
199-
200- export const ResourceCloningIndicator = connect (
201- ( state ) => ( {
202- isCopying : getCurrentResourceCopyLoading ( state ) ,
203- clonedResourceUrl : getCurrentResourceClonedUrl ( state )
204- } )
205- ) ( ( { isCopying, clonedResourceUrl } ) => {
206- const className = 'text-primary ms-text _font-size-sm _strong' ;
207- if ( isCopying ) {
208- return (
209- < FlexBox centerChildrenVertically gap = "xs" className = { className } >
210- < Spinner />
211- < Message msgId = "gnviewer.cloning" />
212- </ FlexBox >
213- ) ;
214- }
215-
216- if ( clonedResourceUrl ) {
217- return (
218- < a href = { clonedResourceUrl } className = { className } >
219- < Message msgId = "gnviewer.navigateToClonedResource" />
220- </ a >
221- ) ;
222- }
223-
224- return null ;
225- } ) ;
You can’t perform that action at this time.
0 commit comments