fixed default overide

This commit is contained in:
Arunavo Ray
2025-08-30 00:47:33 +05:30
parent a188869cae
commit 3e14edc571
2 changed files with 6 additions and 6 deletions

View File

@@ -50,12 +50,12 @@ export function ConfigTabs() {
preserveOrgStructure: false, preserveOrgStructure: false,
}, },
scheduleConfig: { scheduleConfig: {
enabled: true, // Default to enabled enabled: false, // Don't set defaults here - will be loaded from API
interval: 86400, // Default to daily (24 hours) interval: 0, // Will be replaced with actual value from API
}, },
cleanupConfig: { cleanupConfig: {
enabled: true, // Default to enabled enabled: false, // Don't set defaults here - will be loaded from API
retentionDays: 604800, // 7 days in seconds - Default retention period retentionDays: 0, // Will be replaced with actual value from API
}, },
mirrorOptions: { mirrorOptions: {
mirrorReleases: false, mirrorReleases: false,

View File

@@ -93,7 +93,7 @@ export function ScheduleConfigForm({
htmlFor="interval" htmlFor="interval"
className="block text-sm font-medium mb-1.5" className="block text-sm font-medium mb-1.5"
> >
Mirroring Interval Sync Interval
</label> </label>
<Select <Select
@@ -122,7 +122,7 @@ export function ScheduleConfigForm({
</Select> </Select>
<p className="text-xs text-muted-foreground mt-1"> <p className="text-xs text-muted-foreground mt-1">
How often the mirroring process should run. How often the sync process should run.
</p> </p>
<div className="mt-2 p-2 bg-muted/50 rounded-md"> <div className="mt-2 p-2 bg-muted/50 rounded-md">
<p className="text-xs text-muted-foreground"> <p className="text-xs text-muted-foreground">