fix: refresh log info on partial delete failure
This commit is contained in:
parent
dcd0911612
commit
13122aa0fa
@ -203,10 +203,10 @@ export default function SettingsPerformance(props) {
|
|||||||
size: formatBytes(freed_bytes),
|
size: formatBytes(freed_bytes),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
fetchLogInfo();
|
|
||||||
} else {
|
} else {
|
||||||
showError(res.data.message || t('清理失败'));
|
showError(res.data.message || t('清理失败'));
|
||||||
}
|
}
|
||||||
|
fetchLogInfo();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
showError(t('清理失败'));
|
showError(t('清理失败'));
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user