fix(apikeys): description incorrect when empty data
This commit is contained in:
@@ -187,7 +187,10 @@ const APIKeys: React.FC = () => {
|
|||||||
loadend={dataSource.loadend}
|
loadend={dataSource.loadend}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
image={<IconFont type="icon-key" />}
|
image={<IconFont type="icon-key" />}
|
||||||
filters={_.omit(queryParams, ['sort_by'])}
|
filters={{
|
||||||
|
..._.omit(queryParams, ['sort_by']),
|
||||||
|
user_id: queryParams.user_id === '*' ? undefined : queryParams.user_id
|
||||||
|
}}
|
||||||
noFoundText={intl.formatMessage({
|
noFoundText={intl.formatMessage({
|
||||||
id: 'noresult.keys.nofound'
|
id: 'noresult.keys.nofound'
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user