mirror of
https://github.com/open-webui/open-webui
synced 2025-01-04 01:53:31 +00:00
debug: Add console logs for Google Drive Integration state changes
This commit is contained in:
parent
3c74ce3653
commit
6f3e7ed0e9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user