|
@@ -729,11 +729,11 @@ export function IntegrationsContent() {
|
|
|
<div className="text-right">
|
|
<div className="text-right">
|
|
|
<div className="text-xs text-slate-400 mb-1">{t('integrations.autoSync')}</div>
|
|
<div className="text-xs text-slate-400 mb-1">{t('integrations.autoSync')}</div>
|
|
|
<Switch
|
|
<Switch
|
|
|
- checked={shop.store_sync_config?.[0]?.enabled ?? true}
|
|
|
|
|
|
|
+ checked={shop.store_sync_config?.[0]?.enabled ?? false}
|
|
|
onCheckedChange={() => handleToggleStoreEnabled(
|
|
onCheckedChange={() => handleToggleStoreEnabled(
|
|
|
shop.id,
|
|
shop.id,
|
|
|
shop.store_name || 'this store',
|
|
shop.store_name || 'this store',
|
|
|
- shop.store_sync_config?.[0]?.enabled ?? true
|
|
|
|
|
|
|
+ shop.store_sync_config?.[0]?.enabled ?? false
|
|
|
)}
|
|
)}
|
|
|
disabled={shop.sync_status === 'syncing'}
|
|
disabled={shop.sync_status === 'syncing'}
|
|
|
title={shop.sync_status === 'syncing' ? 'Cannot change while syncing' : 'Toggle background sync'}
|
|
title={shop.sync_status === 'syncing' ? 'Cannot change while syncing' : 'Toggle background sync'}
|