diff --git a/src/lib/components/chat/MessageInput/InputMenu.svelte b/src/lib/components/chat/MessageInput/InputMenu.svelte index a197db3d45..79b22a5882 100644 --- a/src/lib/components/chat/MessageInput/InputMenu.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu.svelte @@ -315,7 +315,7 @@ uploadGoogleDriveHandler(); }} > - + - { + tab = 'microsoft_onedrive'; + }} + > + - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{$i18n.t('Microsoft OneDrive')}
- - - {#if $config?.features?.enable_onedrive_personal} - { - uploadOneDriveHandler('personal'); - }} + + + + -
-
{$i18n.t('Microsoft OneDrive (personal)')}
-
-
- {/if} + + + + + + + + + + + + + - {#if $config?.features?.enable_onedrive_business} - { - uploadOneDriveHandler('organizations'); - }} - > -
-
- {$i18n.t('Microsoft OneDrive (work/school)')} -
-
{$i18n.t('Includes SharePoint')}
-
-
- {/if} -
- +
+
+ {$i18n.t('Microsoft OneDrive')} +
+ +
+ +
+
+ {/if} {/if} @@ -533,6 +510,52 @@ + {:else if tab === 'microsoft_onedrive'} +
+ + + {#if $config?.features?.enable_onedrive_personal} + { + uploadOneDriveHandler('personal'); + }} + > +
+
{$i18n.t('Microsoft OneDrive (personal)')}
+
+
+ {/if} + + {#if $config?.features?.enable_onedrive_business} + { + uploadOneDriveHandler('organizations'); + }} + > +
+
+ {$i18n.t('Microsoft OneDrive (work/school)')} +
+
{$i18n.t('Includes SharePoint')}
+
+
+ {/if} +
{/if}