Skip to content

Commit

Permalink
fix(not supported tool tip): not supported tool tip (#184)
Browse files Browse the repository at this point in the history
not supported tool tip
  • Loading branch information
enudler committed Aug 5, 2019
1 parent 82a2657 commit d19cbd8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion ui/src/features/configurationColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,20 @@ export const getColumns = ({columnsNames, sortHeader = '', onSort, onReportView,
),
accessor: data => data.type ==='basic' ? <ViewButton icon={faPen} onClick={(e) => {
e.stopPropagation();
onEdit(data)}}/> : 'N/A',
onEdit(data)}}/> :
<TooltipWrapper
content={
<div>
DSL not supported
</div>}
dataId={`tooltipKey`}
place='top'
offset={{top: 1}}
>
<div data-tip data-for={`tooltipKey_na`} style={{cursor: 'pointer', width:'18px'}}>
N/A
</div>
</TooltipWrapper> ,
className: css['small-header'],
headerClassName: css['small-header']
},
Expand Down

0 comments on commit d19cbd8

Please sign in to comment.