fixing up yaml modder
This commit is contained in:
1 parent
f6270c94f3
commit
7afda7eb1c
3 files changed
+24
-21
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user