From 3c15e5b8a0914e13c095afc8b79e387585e16493 Mon Sep 17 00:00:00 2001 From: cenfun Date: Sun, 9 Jun 2024 16:45:32 +0800 Subject: [PATCH] add trust icon for author --- js/custom-nodes-manager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/custom-nodes-manager.js b/js/custom-nodes-manager.js index 81ad8fcc..32a47191 100644 --- a/js/custom-nodes-manager.js +++ b/js/custom-nodes-manager.js @@ -799,6 +799,9 @@ export class CustomNodesManager { width: 100, classMap: "cn-node-author", formatter: (author, rowItem, columnItem) => { + if (rowItem.trust) { + return `✅ ${author}`; + } return author; } }, {