From 98931085394ca38064a48321a7c85b447f5f02b7 Mon Sep 17 00:00:00 2001 From: Yohann Tilotti <5848945+ytilotti@users.noreply.github.com> Date: Wed, 7 Jul 2021 15:51:23 +0200 Subject: [PATCH 1/2] Delete limit 255 description estimate There is a limit on the description of the estimate vue which is not necessary. The field in the database is in TEXT. --- resources/assets/js/views/estimates/ItemSelect.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/assets/js/views/estimates/ItemSelect.vue b/resources/assets/js/views/estimates/ItemSelect.vue index 22f2ffb8..7b3f5913 100644 --- a/resources/assets/js/views/estimates/ItemSelect.vue +++ b/resources/assets/js/views/estimates/ItemSelect.vue @@ -104,15 +104,6 @@ export default { loading: false, } }, - validations() { - return { - item: { - description: { - maxLength: maxLength(255), - }, - }, - } - }, computed: { ...mapGetters('item', ['items']), }, From b004e7e3798225165a8226fc0c812bbdc9fcb505 Mon Sep 17 00:00:00 2001 From: Michel Melo Date: Sat, 10 Jul 2021 09:00:48 +0100 Subject: [PATCH 2/2] Update i18n.js --- resources/assets/js/plugins/i18n.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/assets/js/plugins/i18n.js b/resources/assets/js/plugins/i18n.js index 382ef21f..7fd8633c 100644 --- a/resources/assets/js/plugins/i18n.js +++ b/resources/assets/js/plugins/i18n.js @@ -7,6 +7,7 @@ import ar from './ar.json' import de from './de.json' import ja from './ja.json' import pt_BR from './pt-br.json' +import pt from './pt.json' import it from './it.json' import sr from './sr.json' import nl from './nl.json' @@ -29,6 +30,7 @@ const i18n = new VueI18n({ de, ja, pt_BR, + pt, it, sr, nl,