feat: remove channel ID and username search fields from usage log filters
This commit is contained in:
parent
b6293434e9
commit
1e3ce2c0d2
|
|
@ -31,7 +31,6 @@ const LogsFilters = ({
|
||||||
formApi,
|
formApi,
|
||||||
setLogType,
|
setLogType,
|
||||||
loading,
|
loading,
|
||||||
isAdminUser,
|
|
||||||
t,
|
t,
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -102,26 +101,7 @@ const LogsFilters = ({
|
||||||
size='small'
|
size='small'
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{isAdminUser && (
|
|
||||||
<>
|
|
||||||
<Form.Input
|
|
||||||
field='channel'
|
|
||||||
prefix={<IconSearch />}
|
|
||||||
placeholder={t('渠道 ID')}
|
|
||||||
showClear
|
|
||||||
pure
|
|
||||||
size='small'
|
|
||||||
/>
|
|
||||||
<Form.Input
|
|
||||||
field='username'
|
|
||||||
prefix={<IconSearch />}
|
|
||||||
placeholder={t('用户名称')}
|
|
||||||
showClear
|
|
||||||
pure
|
|
||||||
size='small'
|
|
||||||
/>
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 操作按钮区域 */}
|
{/* 操作按钮区域 */}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue