fix: make save buttons always shows up prior to cancel buttons

fix: make all save buttons of submit type
This commit is contained in:
Liordino Neto 2020-09-30 17:43:27 -03:00 committed by Josh Harvey
parent 7da522b1da
commit b39692e6f7
3 changed files with 13 additions and 12 deletions

View file

@ -59,14 +59,14 @@ const BooleanPropertiesTable = memo(
<H4>{title}</H4>
{editing ? (
<div className={classes.rightAligned}>
<Link onClick={innerCancel} color="secondary">
Cancel
<Link type="submit" color="primary">
Save
</Link>
<Link
className={classes.rightLink}
type="submit"
color="primary">
Save
onClick={innerCancel}
color="secondary">
Cancel
</Link>
</div>
) : (