Fix: disable email workflow type if email not enabled

This commit is contained in:
shamoon
2024-12-24 09:31:59 -08:00
parent 5007855904
commit 8291ec17d4
7 changed files with 46 additions and 20 deletions

View File

@@ -1714,6 +1714,8 @@ class UiSettingsView(GenericAPIView):
manager.get_outlook_authorization_url()
)
ui_settings["email_enabled"] = settings.EMAIL_ENABLED
user_resp = {
"id": user.id,
"username": user.username,