Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

fix: resolves missing integrity error in plans page

towfiqi45e44078d671
diff --git a/frontend/src/routes/PlanSingle/PlanSingle.module.scss b/frontend/src/routes/PlanSingle/PlanSingle.module.scss
index b24a097..e2bc576 100644
--- a/frontend/src/routes/PlanSingle/PlanSingle.module.scss
+++ b/frontend/src/routes/PlanSingle/PlanSingle.module.scss
@@ -7,6 +7,16 @@
}
}
+.planError {
+ border: 1px solid #f3cfcf;
+ padding-top: 0;
+ cursor: pointer;
+ transition: all 0.12s linear;
+ &:hover {
+ background-color: #f3cfcf;
+ }
+}
+
.planActions {
position: relative;
.moreOptions {
diff --git a/frontend/src/routes/PlanSingle/PlanSingle.tsx b/frontend/src/routes/PlanSingle/PlanSingle.tsx
index 85b4df8..7b19c6b 100644
--- a/frontend/src/routes/PlanSingle/PlanSingle.tsx
+++ b/frontend/src/routes/PlanSingle/PlanSingle.tsx
@@ -65,7 +65,7 @@ const PlanSingle = () => {
);
}
- const { isActive, method, title, description, stats, settings } = plan;
+ const { isActive, method, title, description, verified, stats, settings } = plan;
const prune = settings.prune;
const snapshotsCount = stats.snapshots?.length || 0;
const isSync = method === 'sync';
@@ -86,6 +86,11 @@ const PlanSingle = () => {
<Icon size={14} type={'pause'} color="#bf8d20" /> Paused
</span>
)}
+ {verified?.hasError && (
+ <span className={`label error ${classes.planError}`} onClick={() => setShowIntegrityModal(true)}>
+ <Icon size={14} type={'error-circle-filled'} color="#dd6b6b" /> Integrity Error
+ </span>
+ )}
</>
}
pageTitle={title}