improve: badge

update scanner
This commit is contained in:
Dr.Lt.Data authored and dr.lt.data committed 2023-12-08 18:16:56 +09:00
1 parent 8307d4495d
commit 61514612f8
7 files changed
+243 -72

No files matched your search

+9 -2
View File
@@ -230,6 +230,7 @@ async function fetchNicknames() {
const mappings = await response1.json();
let result = {};
let nickname_patterns = [];
for (let i in mappings) {
let item = mappings[i];
@@ -244,12 +245,16 @@ async function fetchNicknames() {
for (let j in item[0]) {
result[item[0][j]] = nickname;
}
if(item[1].nodename_pattern) {
nickname_patterns.push([item[1].nodename_pattern, nickname]);
}
}
return result;
return [result, nickname_patterns];
}
let nicknames = await fetchNicknames();
const [nicknames, nickname_patterns] = await fetchNicknames();
async function updateComfyUI() {
@@ -917,7 +922,9 @@ app.registerExtension({
this._addExtraNodeContextMenu(nodeType, app);
},
async nodeCreated(node, app) {
},
async loadedGraphNode(node, app) {
if (node.has_errors) {
const onDrawForeground = node.onDrawForeground;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.