fix: wizard rework

This commit is contained in:
Taranto 2020-10-11 18:04:46 +01:00 committed by Josh Harvey
parent 0f4350f99c
commit 3a6f3a2915
40 changed files with 12622 additions and 9244 deletions

View file

@ -33,6 +33,7 @@ const ActionCol = ({ disabled, editing }) => {
enableToggle,
onToggle,
toggleWidth,
forceAdd,
actionColSize
} = useContext(TableCtx)
@ -49,9 +50,11 @@ const ActionCol = ({ disabled, editing }) => {
onClick={submitForm}>
Save
</Link>
<Link color="secondary" onClick={resetForm}>
Cancel
</Link>
{!forceAdd && (
<Link color="secondary" onClick={resetForm}>
Cancel
</Link>
)}
</Td>
)}
{!editing && enableEdit && (