mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Revert changes in Table.jsx
This commit is contained in:
parent
40da1cad63
commit
81a5ee19a7
1 changed files with 6 additions and 6 deletions
|
|
@ -187,7 +187,7 @@ export function Table({
|
|||
const [hoverAdded, setHoverAdded] = useState(false);
|
||||
const [generatedColumn, setGeneratedColumn] = useState([]);
|
||||
const [isCellValueChanged, setIsCellValueChanged] = useState(false);
|
||||
const [tableButtonHoveredId, setTableButtonHoveredId] = useState('');
|
||||
const [ tableButtonHoveredId, setTableButtonHoveredId ] = useState("");
|
||||
|
||||
const mergeToTableDetails = (payload) => dispatch(reducerActions.mergeToTableDetails(payload));
|
||||
const mergeToFilterDetails = (payload) => dispatch(reducerActions.mergeToFilterDetails(payload));
|
||||
|
|
@ -1108,7 +1108,7 @@ export function Table({
|
|||
setTableButtonHoveredId(id);
|
||||
}}
|
||||
onMouseLeave={(event) => {
|
||||
setTableButtonHoveredId('');
|
||||
setTableButtonHoveredId("");
|
||||
}}
|
||||
ref={tableRef}
|
||||
>
|
||||
|
|
@ -1787,7 +1787,7 @@ export function Table({
|
|||
)}
|
||||
{!loadingState && showAddNewRowButton && (
|
||||
<>
|
||||
<Tooltip id={`tooltip-for-add-new-row-${id}`} className="tooltip" />
|
||||
<Tooltip id={`tooltip-for-add-new-row-${id}` } className="tooltip" />
|
||||
<ButtonSolid
|
||||
variant="ghostBlack"
|
||||
fill={`var(--icons-default)`}
|
||||
|
|
@ -1803,7 +1803,7 @@ export function Table({
|
|||
}
|
||||
}}
|
||||
size="md"
|
||||
data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-add-new-row-${id}` : ''}
|
||||
data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-add-new-row-${id}` : "" }
|
||||
data-tooltip-content="Add new row"
|
||||
></ButtonSolid>
|
||||
</>
|
||||
|
|
@ -1827,7 +1827,7 @@ export function Table({
|
|||
fill={`var(--icons-default)`}
|
||||
iconWidth="16"
|
||||
size="md"
|
||||
data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-download-${id}` : ''}
|
||||
data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-download-${id}` : ""}
|
||||
data-tooltip-content="Download"
|
||||
onClick={(e) => {
|
||||
if (document.activeElement === e.currentTarget) {
|
||||
|
|
@ -1861,7 +1861,7 @@ export function Table({
|
|||
e.currentTarget.blur();
|
||||
}
|
||||
}}
|
||||
data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : ''}
|
||||
data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : ""}
|
||||
data-tooltip-content="Manage columns"
|
||||
></ButtonSolid>
|
||||
</OverlayTriggerComponent>
|
||||
|
|
|
|||
Loading…
Reference in a new issue