mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-31 16:30:18 +08:00
add trust icon for author
This commit is contained in:
parent
cb70ba9efa
commit
3c15e5b8a0
@ -799,6 +799,9 @@ export class CustomNodesManager {
|
|||||||
width: 100,
|
width: 100,
|
||||||
classMap: "cn-node-author",
|
classMap: "cn-node-author",
|
||||||
formatter: (author, rowItem, columnItem) => {
|
formatter: (author, rowItem, columnItem) => {
|
||||||
|
if (rowItem.trust) {
|
||||||
|
return `<span title="This author has been active for more than six months in GitHub">✅ ${author}</span>`;
|
||||||
|
}
|
||||||
return author;
|
return author;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user