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 {
561561 onPointerClick = { this . handlePointerClick . bind ( this ) }
562562 setRelation = { this . setRelation . bind ( this ) }
563563 onAddColumn = { this . showAddColumn . bind ( this ) }
564- onAddRow = { this . addRow . bind ( this ) } />
564+ onAddRow = { this . addRow . bind ( this ) }
565+ onAddClass = { this . showCreateClass . bind ( this ) } />
565566 ) ;
566567 }
567568 }
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ let BrowserToolbar = ({
3030 onFilterChange,
3131 onAddColumn,
3232 onAddRow,
33+ onAddClass,
3334 onExport,
3435 onRemoveColumn,
3536 onDeleteRows,
@@ -78,6 +79,7 @@ let BrowserToolbar = ({
7879 < BrowserMenu title = 'Edit' icon = 'edit-solid' >
7980 < MenuItem text = 'Add a row' onClick = { onAddRow } />
8081 < MenuItem text = 'Add a column' onClick = { onAddColumn } />
82+ < MenuItem text = 'Add a class' onClick = { onAddClass } />
8183 < Separator />
8284 < MenuItem
8385 disabled = { selectionLength === 0 }
You can’t perform that action at this time.
0 commit comments