From 9fa402f5c8f317c68c9bbf2d80bcd647c79f1b83 Mon Sep 17 00:00:00 2001 From: Michael Sahlu Date: Tue, 16 May 2023 00:57:33 +0300 Subject: [PATCH] add SENDER_NAME environment and types --- dashboard/src/constants.ts | 2 ++ dashboard/src/pages/Environment.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/dashboard/src/constants.ts b/dashboard/src/constants.ts index 16f7cdb..6bbc405 100644 --- a/dashboard/src/constants.ts +++ b/dashboard/src/constants.ts @@ -19,6 +19,7 @@ export const TextInputType = { SMTP_USERNAME: 'SMTP_USERNAME', SMTP_LOCAL_NAME: 'SMTP_LOCAL_NAME', SENDER_EMAIL: 'SENDER_EMAIL', + SENDER_NAME: 'SENDER_NAME', ORGANIZATION_NAME: 'ORGANIZATION_NAME', ORGANIZATION_LOGO: 'ORGANIZATION_LOGO', DATABASE_NAME: 'DATABASE_NAME', @@ -143,6 +144,7 @@ export interface envVarTypes { SMTP_PASSWORD: string; SMTP_LOCAL_NAME: string; SENDER_EMAIL: string; + SENDER_NAME: string; ALLOWED_ORIGINS: [string] | []; ORGANIZATION_NAME: string; ORGANIZATION_LOGO: string; diff --git a/dashboard/src/pages/Environment.tsx b/dashboard/src/pages/Environment.tsx index 98bb8d7..05c0d0c 100644 --- a/dashboard/src/pages/Environment.tsx +++ b/dashboard/src/pages/Environment.tsx @@ -70,6 +70,7 @@ const Environment = () => { SMTP_PASSWORD: '', SMTP_LOCAL_NAME: '', SENDER_EMAIL: '', + SENDER_NAME: '', ALLOWED_ORIGINS: [], ORGANIZATION_NAME: '', ORGANIZATION_LOGO: '',