@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
|
|
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
|
-
|
|
381
|
-
|
|
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;
|