Sfoglia il codice sorgente

fix: refresh log info on partial delete failure

RedwindA 1 mese fa
parent
commit
13122aa0fa

+ 1 - 1
web/src/pages/Setting/Performance/SettingsPerformance.jsx

@@ -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 {