@burh/nuxt-core 1.0.362 → 1.0.364

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.
@@ -361,7 +361,7 @@ export default {
361
361
  userData: Object,
362
362
  notes: Array,
363
363
  activeName: String,
364
- userFolderId: String || Number,
364
+ userFolderId: String,
365
365
  isNotesActived: {
366
366
  type: Boolean,
367
367
  default: true
@@ -377,8 +377,10 @@ export default {
377
377
  },
378
378
  methods: {
379
379
  handleNewReportNoteSubmit() {
380
- this.$emit('new-report-note', this.newReportNote, this.userFolderId, this.userData.id);
381
- this.newReportNote = '';
380
+ if (this.newReportNote.length > 5) {
381
+ this.$emit('new-report-note', this.newReportNote, this.userFolderId, this.userData.id);
382
+ this.newReportNote = '';
383
+ }
382
384
  },
383
385
  openRemoveSection(item, index) {
384
386
  this.hasRemove = index;
@@ -100,7 +100,7 @@ export default {
100
100
  },
101
101
  props: {
102
102
  userData: Object,
103
- userFolderId: String || Number,
103
+ userFolderId: String,
104
104
  },
105
105
  mounted() {
106
106
  this.getUserFolderData();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.362",
3
+ "version": "1.0.364",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {