fixing up yaml modder

This commit is contained in:
ari committed 2022-05-19 23:18:16 -04:00
1 parent f6270c94f3
commit 7afda7eb1c
3 files changed
+24 -21

No files matched your search

+3 -1
View File
@@ -35,7 +35,9 @@ export const NodeEditor: FC<NodeEditorProps> = ({
const isReady = state.isReady();
const areYouSureNotReady = (what: string) => !isReady ?
window.confirm(`This node is missing some values, are you sure you want to ${what}?`) :
true;
state.isErrored ?
window.confirm(`This node contains errors, are you sure you want to ${what}?`) :
true;
// events
onFlags(isReady, isModified);