Skip to content

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

chore: move PlanReplicationSettings to appropriate location

towfiqi37fc5fcacd15
diff --git a/frontend/src/components/Plan/PlanForm/PlanForm.tsx b/frontend/src/components/Plan/PlanForm/PlanForm.tsx
index a6dbe5f..606e6f0 100644
--- a/frontend/src/components/Plan/PlanForm/PlanForm.tsx
+++ b/frontend/src/components/Plan/PlanForm/PlanForm.tsx
@@ -15,7 +15,7 @@ import IntervalField from '../../common/form/IntervalField/IntervalField';
import PlanFormNav from './PlanFormNav';
import { useGetDevice } from '../../../services/devices';
import PlanPruneSettings from '../PlanSettings/PlanPruneSettings';
-import PlanReplicationSettings from './PlanReplicationSettings';
+import PlanReplicationSettings from '../PlanSettings/PlanReplicationSettings';
type PlanFormProps = {
title: string;
diff --git a/frontend/src/components/Plan/PlanForm/PlanReplicationSettings.module.scss b/frontend/src/components/Plan/PlanSettings/PlanReplicationSettings.module.scss
similarity index 100%
rename from frontend/src/components/Plan/PlanForm/PlanReplicationSettings.module.scss
rename to frontend/src/components/Plan/PlanSettings/PlanReplicationSettings.module.scss
diff --git a/frontend/src/components/Plan/PlanForm/PlanReplicationSettings.tsx b/frontend/src/components/Plan/PlanSettings/PlanReplicationSettings.tsx
similarity index 100%
rename from frontend/src/components/Plan/PlanForm/PlanReplicationSettings.tsx
rename to frontend/src/components/Plan/PlanSettings/PlanReplicationSettings.tsx
diff --git a/frontend/src/components/index.ts b/frontend/src/components/index.ts
index 761e384..8b08858 100644
--- a/frontend/src/components/index.ts
+++ b/frontend/src/components/index.ts
@@ -93,7 +93,7 @@ export { default as PlanUnlockModal } from './Plan/PlanUnlockModal/PlanUnlockMod
export { default as MirrorStatusBadge } from './Plan/Mirrors/MirrorStatusBadge';
export { default as MirrorStorageSelector } from './Plan/Mirrors/MirrorStorageSelector';
export { default as MirrorStorageSelectorModal } from './Plan/Mirrors/MirrorStorageSelectorModal';
-export { default as PlanReplicationSettings } from './Plan/PlanForm/PlanReplicationSettings';
+export { default as PlanReplicationSettings } from './Plan/PlanSettings/PlanReplicationSettings';
// Restore components
export { default as PlanRestores } from './Plan/Restores/Restores';