add muter node

This commit is contained in:
tritant
2025-09-24 02:07:43 +02:00
committed by GitHub
parent 3838c2a527
commit ac3325c320
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ app.registerExtension({
const groupID = groupIDWidget.value;
if (!groupID) return;
this.widgets = this.widgets.filter(w => w.name === "group_id");
this.widgets = this.widgets.filter(w => w.name === "group_id" || w.name === "🔄 Scan for new tag");
const discoveredTags = new Set();
const regex = /\[\[(.*?):(.*?)\]\]/g;
@@ -83,7 +83,7 @@ app.registerExtension({
"DEFAULT",
discoverAndBuildUI
);
this.addWidget("button", "🔄 Scan for new tag", null, discoverAndBuildUI);
setTimeout(() => discoverAndBuildUI(), 100);
};
}
+2 -2
View File
@@ -35,7 +35,7 @@ app.registerExtension({
const groupID = groupIDWidget.value;
if (!groupID) return;
this.widgets = this.widgets.filter(w => w.name === "group_id");
this.widgets = this.widgets.filter(w => w.name === "group_id" || w.name === "🔄 Scan for new tag");
const discoveredTags = new Set();
const regex = /\[\[(.*?):(.*?)\]\]/g;
@@ -83,7 +83,7 @@ app.registerExtension({
"DEFAULT",
discoverAndBuildUI
);
this.addWidget("button", "🔄 Scan for new tag", null, discoverAndBuildUI);
setTimeout(() => discoverAndBuildUI(), 100);
};
}