Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
fix: Do not allow saving term w/empty expression
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Nov 19, 2019
1 parent 21ea359 commit 208d53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/concept/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const Concept: React.FC<{ id: string, lang?: string }> = function ({ id }

<footer className={styles.actions}>
<Button
disabled={loading || !dirty}
disabled={loading || !dirty || term.trim() === ''}
large={true}
minimal={false}
intent="primary"
Expand Down

0 comments on commit 208d53c

Please sign in to comment.