@capillarytech/creatives-library 2.0.37 → 2.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,8 +10,8 @@ import PropTypes from 'prop-types';
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Label } from 'semantic-ui-react';
|
|
12
12
|
import _ from 'lodash';
|
|
13
|
-
import { Tabs, Row, Col, Table, Modal
|
|
14
|
-
import { CapButton, CapInput, CapPopover, CapCheckbox, CapRadio, CapSelect, CapTable, CapColumn} from '@capillarytech/cap-ui-library';
|
|
13
|
+
import { Tabs, Row, Col, Table, Modal} from 'antd';
|
|
14
|
+
import { CapButton, CapInput, CapPopover, CapCheckbox, CapRadio, CapSelect, CapTable, CapColumn, CapNotification} from '@capillarytech/cap-ui-library';
|
|
15
15
|
import TemplatePreview from '../../components/TemplatePreview';
|
|
16
16
|
import TagList from '../../containers/TagList';
|
|
17
17
|
import SmsEditor from '../SmsEditor';
|
|
@@ -299,11 +299,9 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
299
299
|
};
|
|
300
300
|
|
|
301
301
|
openNotificationWithIcon = (type, message) => {
|
|
302
|
-
|
|
303
|
-
notification[type]({
|
|
302
|
+
CapNotification.error({
|
|
304
303
|
message: (`${type.toUpperCase()} ! ! ! `),
|
|
305
304
|
description: message, //'This is the content of the notification. This is the content of the notification. This is the content of the notification.',
|
|
306
|
-
duration: dur,
|
|
307
305
|
});
|
|
308
306
|
}
|
|
309
307
|
|
|
@@ -712,7 +712,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
setFormValidity = (isFormValid) => {
|
|
715
|
-
this.setState({isFormValid});
|
|
715
|
+
this.setState({isFormValid, startValidation: false});
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
setEditData(editData) {
|