add trust icon for author

This commit is contained in:
cenfun 2024-06-09 16:45:32 +08:00
parent cb70ba9efa
commit 3c15e5b8a0

View File

@ -799,6 +799,9 @@ export class CustomNodesManager {
width: 100,
classMap: "cn-node-author",
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;
}
}, {