File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,8 @@ export default class Browser extends DashboardView {
561
561
onPointerClick = { this . handlePointerClick . bind ( this ) }
562
562
setRelation = { this . setRelation . bind ( this ) }
563
563
onAddColumn = { this . showAddColumn . bind ( this ) }
564
- onAddRow = { this . addRow . bind ( this ) } />
564
+ onAddRow = { this . addRow . bind ( this ) }
565
+ onAddClass = { this . showCreateClass . bind ( this ) } />
565
566
) ;
566
567
}
567
568
}
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ let BrowserToolbar = ({
30
30
onFilterChange,
31
31
onAddColumn,
32
32
onAddRow,
33
+ onAddClass,
33
34
onExport,
34
35
onRemoveColumn,
35
36
onDeleteRows,
@@ -78,6 +79,7 @@ let BrowserToolbar = ({
78
79
< BrowserMenu title = 'Edit' icon = 'edit-solid' >
79
80
< MenuItem text = 'Add a row' onClick = { onAddRow } />
80
81
< MenuItem text = 'Add a column' onClick = { onAddColumn } />
82
+ < MenuItem text = 'Add a class' onClick = { onAddClass } />
81
83
< Separator />
82
84
< MenuItem
83
85
disabled = { selectionLength === 0 }
You can’t perform that action at this time.
0 commit comments