ui-kit-ck-consultant 0.5.185 → 0.5.186
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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -3679,7 +3679,7 @@ var Cookie = /*#__PURE__*/function (_React$Component) {
|
|
3679
3679
|
var _proto = Cookie.prototype;
|
3680
3680
|
|
3681
3681
|
_proto.componentDidMount = function componentDidMount() {
|
3682
|
-
if (this.props.force || this.cookies.get(this.props.name + "-cookies") !== '1') {
|
3682
|
+
if (this.props.force || this.cookies.get(this.props.name + "-cookies") !== '1' && this.cookies.get(this.props.name + "-cookies") !== '2') {
|
3683
3683
|
this.setState({
|
3684
3684
|
show: true
|
3685
3685
|
});
|
@@ -3692,7 +3692,7 @@ var Cookie = /*#__PURE__*/function (_React$Component) {
|
|
3692
3692
|
|
3693
3693
|
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|
3694
3694
|
if (prevProps.force !== this.props.force || prevProps.name !== this.props.name) {
|
3695
|
-
if (this.cookies.get(this.props.name + "-cookies") !== '1') {
|
3695
|
+
if (this.cookies.get(this.props.name + "-cookies") !== '1' && this.cookies.get(this.props.name + "-cookies") !== '2') {
|
3696
3696
|
this.setState({
|
3697
3697
|
show: true
|
3698
3698
|
});
|