@@ -78,7 +80,8 @@ class WBWorkflowListing extends Component {
render({ app, ownerUuid, page, getPageUrl }, { rows, numPages }) {
return (
-
+ {
+ if (e.target.value === 'on')
+ selected[uuid] = true;
+ else
+ delete selected[uuid];
+ } } /> { '\u00A0' }
+
+ );
+ }
+
render({ mode, ownerUuid, activePage, app,
objTypeTab, collectionPage, processPage, workflowPage }) {
@@ -99,7 +116,8 @@ class WBBrowse extends Component {
activePage={ Number(activePage || 0) }
getPageUrl={ i => this.getUrl({ 'activePage': i }) }
renderRenameLink={ (it, cb) => this.renderRenameLink(it, cb) }
- renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) } />
+ renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) }
+ renderSelectionCell={ it => this.renderSelectionCell(it) } />
{ (mode !== 'browse') ? null : (
this.getUrl({ 'collectionPage': i }) }
renderRenameLink={ (it, cb) => this.renderRenameLink(it, cb) }
- renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) } />
+ renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) }
+ renderSelectionCell={ it => this.renderSelectionCell(it) } />
) : (objTypeTab === 'process') ? (
this.route({ 'processPage': i }) }
renderRenameLink={ (it, cb) => this.renderRenameLink(it, cb) }
- renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) } />
+ renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) }
+ renderSelectionCell={ it => this.renderSelectionCell(it) } />
) : (objTypeTab === 'workflow') ? (
this.getUrl({ 'workflowPage': i }) }
renderRenameLink={ (it, cb) => this.renderRenameLink(it, cb) }
- renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) } />
+ renderDeleteButton={ (it, cb) => this.renderDeleteButton(it, cb) }
+ renderSelectionCell={ it => this.renderSelectionCell(it) } />
) : null
}