From c3052dd8ca0e3622e8c64bf14b0e1a27b33aef90 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 4 Oct 2024 22:32:01 -0700 Subject: [PATCH] Some tweaks --- src-ui/src/app/app.module.ts | 4 ++++ .../manage/mail/mail.component.html | 12 +++++++++-- .../components/manage/mail/mail.component.ts | 20 +++++++++++++------ src-ui/src/app/data/ui-settings.ts | 4 ++-- src/documents/views.py | 14 ++++++------- 5 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 5b9460617..3f707ccdf 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -191,6 +191,7 @@ import { folderFill, funnel, gear, + google, grid, gripVertical, hash, @@ -201,6 +202,7 @@ import { link, listTask, listUl, + microsoft, nodePlus, pencil, people, @@ -295,6 +297,7 @@ const icons = { folderFill, funnel, gear, + google, grid, gripVertical, hash, @@ -305,6 +308,7 @@ const icons = { link, listTask, listUl, + microsoft, nodePlus, pencil, people, diff --git a/src-ui/src/app/components/manage/mail/mail.component.html b/src-ui/src/app/components/manage/mail/mail.component.html index 564536c66..e6e4ac200 100644 --- a/src-ui/src/app/components/manage/mail/mail.component.html +++ b/src-ui/src/app/components/manage/mail/mail.component.html @@ -13,8 +13,16 @@ - Connect with Gmail - Connect with Outlook + @if (gmailOAuthUrl) { + +  Connect Gmail Account + + } + @if (outlookOAuthUrl) { + +  Connect Outlook Account + + }