1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

show clean device errors btn (#6038)

This commit is contained in:
lian
2024-04-25 18:04:02 +08:00
committed by GitHub
parent c8d7665a19
commit 4aeb54277b

View File

@@ -158,7 +158,7 @@ class DeviceErrors extends Component {
loading: false,
devicesErrors: res.data.device_errors,
pageInfo: res.data.page_info,
isCleanBtnShown: res.data.length > 0
isCleanBtnShown: res.data.device_errors.length > 0
});
}).catch((error) => {
this.setState({