diff --git a/client/src/components/document-editor/document-editor.container.jsx b/client/src/components/document-editor/document-editor.container.jsx
index ed2736d09..5e03c262f 100644
--- a/client/src/components/document-editor/document-editor.container.jsx
+++ b/client/src/components/document-editor/document-editor.container.jsx
@@ -51,7 +51,7 @@ export function DocumentEditorContainer({ setBodyshop }) {
}, [dataShop, setBodyshop]);
if (loadingShop) return
;
- if (errorShop) return
;
+ if (errorShop) return
;
if (isLocalMedia) {
if (imageUrl && filename && jobid) {
@@ -66,7 +66,7 @@ export function DocumentEditorContainer({ setBodyshop }) {
}
if (loadingDoc) return
;
- if (errorDoc) return
;
+ if (errorDoc) return
;
if (!dataDoc || !dataDoc.documents_by_pk) return
;
return (
diff --git a/client/src/components/email-documents/email-documents.component.jsx b/client/src/components/email-documents/email-documents.component.jsx
index 8ce2427fc..5318d8d5b 100644
--- a/client/src/components/email-documents/email-documents.component.jsx
+++ b/client/src/components/email-documents/email-documents.component.jsx
@@ -45,7 +45,7 @@ export function EmailDocumentsComponent({ emailConfig, form, selectedMediaState,
return (
{loading &&
}
- {error &&
}
+ {error &&
}
{selectedMedia.filter((s) => s.isSelected).length >= 10 ? (
{t("messaging.labels.maxtenimages")}
) : null}
diff --git a/client/src/components/employee-team-search-select/employee-team-search-select.component.jsx b/client/src/components/employee-team-search-select/employee-team-search-select.component.jsx
index 2be5ea4b2..4d1f939bb 100644
--- a/client/src/components/employee-team-search-select/employee-team-search-select.component.jsx
+++ b/client/src/components/employee-team-search-select/employee-team-search-select.component.jsx
@@ -9,7 +9,7 @@ import AlertComponent from "../alert/alert.component";
const EmployeeTeamSearchSelect = ({ ...props }) => {
const { loading, error, data } = useQuery(QUERY_TEAMS);
- if (error) return
;
+ if (error) return
;
return (
-
-
-
- {this.state.error.message}
-
- {this.state.error.stack}
-
-
+
+
+ {this.state.error.message}
+
+ {this.state.error.stack}
+ >
+ )
+ }
+ ]}
+ />
diff --git a/client/src/components/feature-wrapper/feature-wrapper.component.jsx b/client/src/components/feature-wrapper/feature-wrapper.component.jsx
index 507a05923..4bd639521 100644
--- a/client/src/components/feature-wrapper/feature-wrapper.component.jsx
+++ b/client/src/components/feature-wrapper/feature-wrapper.component.jsx
@@ -56,7 +56,7 @@ function FeatureWrapper({
return (
noauth || (
{t("general.messages.unsavedchanges")}
0 && (
{errors.map((e, idx) => e.errors.map((e2, idx2) => - {e2}
))}
diff --git a/client/src/components/form-items-formatted/email-form-item.component.jsx b/client/src/components/form-items-formatted/email-form-item.component.jsx
index f17e64957..c83259d2d 100644
--- a/client/src/components/form-items-formatted/email-form-item.component.jsx
+++ b/client/src/components/form-items-formatted/email-form-item.component.jsx
@@ -1,22 +1,20 @@
import { MailFilled } from "@ant-design/icons";
-import { Input } from "antd";
+import { Button, Input, Space } from "antd";
import { forwardRef } from "react";
function FormItemEmail(props, ref) {
+ const { defaultValue, value, ...restProps } = props;
+ const emailValue = defaultValue || value;
+
return (
-