Commit 13122aa0 by RedwindA

fix: refresh log info on partial delete failure

parent dcd09116
......@@ -203,10 +203,10 @@ export default function SettingsPerformance(props) {
size: formatBytes(freed_bytes),
}),
);
fetchLogInfo();
} else {
showError(res.data.message || t('清理失败'));
}
fetchLogInfo();
} catch (error) {
showError(t('清理失败'));
} finally {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment