From 224fa25fdf92659c73ebeae1c07c517129278646 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Wed, 8 Feb 2023 23:38:00 -0800 Subject: [PATCH] Minor style fixes --- backend/src/controllers/v2/secretsController.ts | 2 +- .../templates/organizationInvitation.handlebars | 3 +-- .../src/templates/workspaceInvitation.handlebars | 4 ++-- frontend/src/components/basic/Layout.tsx | 8 ++++---- .../components/basic/popups/BottomRightPopup.tsx | 2 +- frontend/src/components/dashboard/CommentField.tsx | 2 +- .../components/dashboard/DashboardInputField.tsx | 6 +++--- frontend/src/components/dashboard/KeyPair.tsx | 14 ++++++++++---- .../src/components/navigation/NavBarDashboard.tsx | 6 +++--- frontend/src/pages/dashboard/[id].tsx | 7 +++++-- frontend/src/pages/home/[id].tsx | 2 +- 11 files changed, 32 insertions(+), 24 deletions(-) diff --git a/backend/src/controllers/v2/secretsController.ts b/backend/src/controllers/v2/secretsController.ts index ff39791ac..7267ae50c 100644 --- a/backend/src/controllers/v2/secretsController.ts +++ b/backend/src/controllers/v2/secretsController.ts @@ -452,7 +452,7 @@ export const updateSecrets = async (req: Request, res: Response) => { secretValueTag, tags, ...(( - secretCommentCiphertext && + secretCommentCiphertext !== undefined && secretCommentIV && secretCommentTag ) ? { diff --git a/backend/src/templates/organizationInvitation.handlebars b/backend/src/templates/organizationInvitation.handlebars index 49cc96f38..c8d0a9116 100644 --- a/backend/src/templates/organizationInvitation.handlebars +++ b/backend/src/templates/organizationInvitation.handlebars @@ -12,7 +12,6 @@

{{inviterFirstName}}({{inviterEmail}}) has invited you to their Infisical organization — {{organizationName}}

Join now

What is Infisical?

-

Infisical is a simple end-to-end encrypted solution that enables teams to sync and manage their environment - variables.

+

Infisical is an easy-to-use end-to-end encrypted tool that enables developers to sync and manage their secrets and configs.

\ No newline at end of file diff --git a/backend/src/templates/workspaceInvitation.handlebars b/backend/src/templates/workspaceInvitation.handlebars index 252452ce5..501d72c8d 100644 --- a/backend/src/templates/workspaceInvitation.handlebars +++ b/backend/src/templates/workspaceInvitation.handlebars @@ -8,9 +8,9 @@

Infisical

Join your team on Infisical

-

{{inviterFirstName}}({{inviterEmail}}) has invited you to their Infisical workspace — {{workspaceName}}

+

{{inviterFirstName}}({{inviterEmail}}) has invited you to their Infisical project — {{workspaceName}}

Join now

What is Infisical?

-

Infisical is a simple end-to-end encrypted solution that enables teams to sync and manage their environment variables.

+

Infisical is an easy-to-use end-to-end encrypted tool that enables developers to sync and manage their secrets and configs.

\ No newline at end of file diff --git a/frontend/src/components/basic/Layout.tsx b/frontend/src/components/basic/Layout.tsx index c6e234058..a6632b556 100644 --- a/frontend/src/components/basic/Layout.tsx +++ b/frontend/src/components/basic/Layout.tsx @@ -246,9 +246,9 @@ const Layout = ({ children }: LayoutProps) => { return ( <> -
+
-
+
-
+

{` ${t('common:no-mobile')} `} diff --git a/frontend/src/components/basic/popups/BottomRightPopup.tsx b/frontend/src/components/basic/popups/BottomRightPopup.tsx index 91427a3a8..58d8a498e 100644 --- a/frontend/src/components/basic/popups/BottomRightPopup.tsx +++ b/frontend/src/components/basic/popups/BottomRightPopup.tsx @@ -34,7 +34,7 @@ const BottonRightPopup = ({ }: PopupProps): JSX.Element => { return (

diff --git a/frontend/src/components/dashboard/CommentField.tsx b/frontend/src/components/dashboard/CommentField.tsx index bbd77cea0..c6552bb8f 100644 --- a/frontend/src/components/dashboard/CommentField.tsx +++ b/frontend/src/components/dashboard/CommentField.tsx @@ -18,7 +18,7 @@ const CommentField = ({

{t('dashboard:sidebar.comments')}