IP 管理添加白名单字段并优化展示格式

This commit is contained in:
2025-05-23 14:51:42 +08:00
parent dc83c83cfb
commit 07fcc24cd1
3 changed files with 3 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ export default function ChannelsPage(props: ChannelsPageProps) {
return <div className={`flex flex-col gap-1`}>
{row.original.auth_ip && (<>
<span className={`text-weak`}>IP </span>
<span>{row.original.user_host}</span>
<span>{row.original.whitelists.replaceAll(",", ", ")}</span>
</>)}
{row.original.auth_pass && (<>
<span className={`text-weak`}></span>