fix(usage): remove the delete tag of models and users in tokens tab
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 139 KiB |
@@ -217,8 +217,6 @@ 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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -253,7 +251,6 @@ 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