Skip to content

Commit

Permalink
[bugfix] [Generate GUIDs] button is always enabled even if the PII in…
Browse files Browse the repository at this point in the history
…put is empty
  • Loading branch information
marta- committed Oct 17, 2020
1 parent 94d0154 commit eee0ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guids-generator.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
</FormControl>
</Grid>
<Grid item>
<Button onClick={() => onSubmit()} variant="contained" color="primary" disabled={binput?.trim().length == 0}>Generate GUIDs</Button>
<Button onClick={() => onSubmit()} variant="contained" color="primary" disabled={!(binput?.trim().length > 0)}>Generate GUIDs</Button>
</Grid>
</Grid>
{ Object.keys(bhashes).length > 0 &&
Expand Down

0 comments on commit eee0ed2

Please sign in to comment.