@gitlab/ui 49.2.0 → 49.2.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [49.2.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v49.2.0...v49.2.1) (2022-10-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **datepicker:** Render empty string instead of false ([678b225](https://gitlab.com/gitlab-org/gitlab-ui/commit/678b22572edbd306e859d4017055a6041c24eb4f))
7
+
1
8
  # [49.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v49.1.0...v49.2.0) (2022-10-28)
2
9
 
3
10
 
@@ -179,7 +179,7 @@ var script = {
179
179
  },
180
180
  computed: {
181
181
  formattedDate() {
182
- return 'calendar' in this && this.calendar.toString();
182
+ return 'calendar' in this ? this.calendar.toString() : '';
183
183
  },
184
184
  customTrigger() {
185
185
  return _isString(this.target) && this.target !== '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "49.2.0",
3
+ "version": "49.2.1",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -179,7 +179,7 @@ export default {
179
179
  },
180
180
  computed: {
181
181
  formattedDate() {
182
- return 'calendar' in this && this.calendar.toString();
182
+ return 'calendar' in this ? this.calendar.toString() : '';
183
183
  },
184
184
  customTrigger() {
185
185
  return isString(this.target) && this.target !== '';