This repository was archived by the owner on May 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,6 @@ class SidebarCollection extends PureComponent {
3838 }
3939 }
4040
41- /**
42- * Import data to a collection dialog.
43- */
44- onImportData = ( ) => {
45- const collectionName = this . getCollectionName ( ) ;
46- this . props . globalAppRegistryEmit ( 'open-import' , collectionName ) ;
47- }
48-
49- /**
50- * Export data to a collection dialog.
51- */
52- onExportCollection = ( ) => {
53- const collectionName = this . getCollectionName ( ) ;
54- this . props . globalAppRegistryEmit ( 'open-export' , collectionName ) ;
55- }
56-
5741 /**
5842 * Handle duplicate view.
5943 */
@@ -176,7 +160,7 @@ class SidebarCollection extends PureComponent {
176160 < DropdownButton
177161 bsSize = "xsmall"
178162 bsStyle = "link"
179- title = "…"
163+ title = { < i className = "fa fa-fw fa-ellipsis-h" /> }
180164 className = { classnames ( styles [ 'compass-sidebar-item-collection-actions' ] ) }
181165 noCaret
182166 pullRight
@@ -199,14 +183,12 @@ class SidebarCollection extends PureComponent {
199183 < DropdownButton
200184 bsSize = "xsmall"
201185 bsStyle = "link"
202- title = "…"
186+ title = { < i className = "fa fa-fw fa-ellipsis-h" /> }
203187 className = { classnames ( styles [ 'compass-sidebar-item-collection-actions' ] ) }
204188 noCaret
205189 pullRight
206190 id = "collection-actions" >
207191 < MenuItem eventKey = "1" onClick = { this . onOpenInNewTab } > Open in New Tab</ MenuItem >
208- < MenuItem eventKey = "2" onClick = { this . onImportData } disabled = { this . isNotWritable ( ) } > Import Data</ MenuItem >
209- < MenuItem eventKey = "2" onClick = { this . onExportCollection } > Export Collection</ MenuItem >
210192 < MenuItem eventKey = "2" onClick = { this . onDrop } disabled = { this . isNotWritable ( ) } > Drop Collection</ MenuItem >
211193 </ DropdownButton >
212194 ) ;
Original file line number Diff line number Diff line change 88@compass-sidebar-active-background-color : lighten (hsl (201 , 11% , 41% ), 10% );
99
1010.compass-sidebar-item-collection-actions {
11- margin-right : 5px ;
1211 color : @pw !important ;
1312 visibility : hidden ;
1413}
You can’t perform that action at this time.
0 commit comments