debug: Add console logs for Google Drive Integration state changes

This commit is contained in:
Taylor Wilsdon (aider) 2024-12-26 12:19:53 -05:00
parent 3c74ce3653
commit 6f3e7ed0e9

View File

@ -250,6 +250,7 @@
fileMaxCount = res?.file.max_count ?? ''; fileMaxCount = res?.file.max_count ?? '';
enableGoogleDriveIntegration = res.enable_google_drive_integration; enableGoogleDriveIntegration = res.enable_google_drive_integration;
console.log('Google Drive Integration onMount:', enableGoogleDriveIntegration);
} }
}); });
</script> </script>
@ -597,7 +598,7 @@
<div class="flex justify-between items-center text-xs"> <div class="flex justify-between items-center text-xs">
<div class="text-xs font-medium">{$i18n.t('Enable Google Drive')}</div> <div class="text-xs font-medium">{$i18n.t('Enable Google Drive')}</div>
<div> <div>
<Switch bind:state={enableGoogleDriveIntegration} /> <Switch bind:state={enableGoogleDriveIntegration} on:change={() => console.log('Google Drive Integration:', enableGoogleDriveIntegration)} />
</div> </div>
</div> </div>
</div> </div>