@weni/unnnic-system 1.4.2 → 1.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "main": "./dist/unnnic.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -166,8 +166,8 @@ export default {
166
166
 
167
167
  return {
168
168
  referenceDate,
169
- startDate: this.initialStartDate.replace(/-/g, ' ') || '',
170
- endDate: this.initialEndDate.replace(/-/g, ' ') || '',
169
+ startDate: (this.initialStartDate || '').replace(/-/g, ' '),
170
+ endDate: (this.initialEndDate || '').replace(/-/g, ' '),
171
171
  optionSelected: '',
172
172
  };
173
173
  },
@@ -31,7 +31,7 @@ const Template = (args, { argTypes }) => ({
31
31
 
32
32
  template: `
33
33
  <div>
34
- <unnnic-date-picker v-bind="$props" initial-start-date="12-01-2021" initial-end-date="12-31-2021"></unnnic-date-picker>
34
+ <unnnic-date-picker v-bind="$props" ></unnnic-date-picker>
35
35
  </div>
36
36
  `,
37
37