always check node group

This commit is contained in:
codetypes committed 2025-03-18 10:04:02 +08:00
1 parent 53c1912fa0
commit 7478e1fa0f
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -765,7 +765,7 @@ const NodeInspector: FC = () => {
rules={[
{
validator() {
if (def.group && usingGroups && !usingGroups[def.group]) {
if (def.group && !usingGroups[def.group]) {
return Promise.reject(new Error(t("node.invalidGroup", { group: def.group })));
}
return Promise.resolve();