mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 21:35:19 +00:00
fix: Initialize enableGoogleDriveIntegration with default value
This commit is contained in:
parent
c7cec2131c
commit
1c7ff7b1dc
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@
|
||||||
fileMaxSize = res?.file.max_size ?? '';
|
fileMaxSize = res?.file.max_size ?? '';
|
||||||
fileMaxCount = res?.file.max_count ?? '';
|
fileMaxCount = res?.file.max_count ?? '';
|
||||||
|
|
||||||
enableGoogleDriveIntegration = res.enable_google_drive_integration;
|
enableGoogleDriveIntegration = res.enable_google_drive_integration ?? false;
|
||||||
console.log('Google Drive Integration onMount:', enableGoogleDriveIntegration);
|
console.log('Google Drive Integration onMount:', enableGoogleDriveIntegration);
|
||||||
if (enableGoogleDriveIntegration === undefined) {
|
if (enableGoogleDriveIntegration === undefined) {
|
||||||
console.error('enableGoogleDriveIntegration is undefined onMount');
|
console.error('enableGoogleDriveIntegration is undefined onMount');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue