Revert "fix(usage): remove the delete tag of models and users in tokens tab"

This reverts commit 1b3d4748d4de963ba0c710e3aac91e3af0015531.
This commit is contained in:
jialin
2026-07-08 10:45:23 +08:00
committed by jialin
parent 71840cfc8f
commit f18c12662b
2 changed files with 3 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

@@ -217,6 +217,8 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
<AutoTooltip ghost>{data.label}</AutoTooltip>
{data.isCurrent &&
renderTag(intl.formatMessage({ id: 'usage.user.currentAccount' }))}
{data.deleted &&
renderTag(intl.formatMessage({ id: 'usage.table.deleted' }))}
</span>
);
};
@@ -251,6 +253,7 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
wrapper: { flex: 1, maxWidth: 400, minWidth: 200 }
}}
value={selectedRoutes}
optionLabelRender={singleOptionRender}
onChange={onRoutesChange}
/>
{canManageUsers && (