fix: refresh log info on partial delete failure
This commit is contained in:
1 parent
dcd0911612
commit
13122aa0fa
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user