Revert "fix(usage): remove the delete tag of models and users in tokens tab"
This reverts commit 1b3d4748d4de963ba0c710e3aac91e3af0015531.
This commit is contained in:
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>
|
<AutoTooltip ghost>{data.label}</AutoTooltip>
|
||||||
{data.isCurrent &&
|
{data.isCurrent &&
|
||||||
renderTag(intl.formatMessage({ id: 'usage.user.currentAccount' }))}
|
renderTag(intl.formatMessage({ id: 'usage.user.currentAccount' }))}
|
||||||
|
{data.deleted &&
|
||||||
|
renderTag(intl.formatMessage({ id: 'usage.table.deleted' }))}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -251,6 +253,7 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
|
|||||||
wrapper: { flex: 1, maxWidth: 400, minWidth: 200 }
|
wrapper: { flex: 1, maxWidth: 400, minWidth: 200 }
|
||||||
}}
|
}}
|
||||||
value={selectedRoutes}
|
value={selectedRoutes}
|
||||||
|
optionLabelRender={singleOptionRender}
|
||||||
onChange={onRoutesChange}
|
onChange={onRoutesChange}
|
||||||
/>
|
/>
|
||||||
{canManageUsers && (
|
{canManageUsers && (
|
||||||
|
|||||||
Reference in New Issue
Block a user