From c52fdacd0ddf5c8ef191edb4260235b880c12ecf Mon Sep 17 00:00:00 2001 From: rajpatil6939 Date: Thu, 17 Feb 2022 12:16:21 +0530 Subject: [PATCH] minor bug fixed --- .../createProjectSlider/components/GeneralConfig.vue | 8 +++++++- src/views/admin/Events.vue | 2 +- src/views/admin/TeamMate.vue | 5 +++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/admin/createProjectSlider/components/GeneralConfig.vue b/src/components/admin/createProjectSlider/components/GeneralConfig.vue index 4f4a96c0..2463e3ee 100644 --- a/src/components/admin/createProjectSlider/components/GeneralConfig.vue +++ b/src/components/admin/createProjectSlider/components/GeneralConfig.vue @@ -287,9 +287,15 @@ export default { }, methods:{ CapitaliseString(string) { + if((string.includes("NFT_TAG"))|| string.includes("DEFI_TAG")){ + let res = string.substring(0, string.indexOf('_')) + return res + } + else{ let res = string.split('_'); let first = res[0][0].toUpperCase() + res[0].substring(1).toLowerCase() - return first +' ' + return first + } }, handleEventActionAdd(){ // Code to Add an Action diff --git a/src/views/admin/Events.vue b/src/views/admin/Events.vue index eb5e12d4..2e475992 100644 --- a/src/views/admin/Events.vue +++ b/src/views/admin/Events.vue @@ -165,7 +165,7 @@ i { v-model="selected" @change="handleSearchByTag" :options="this.tagToSearch" > --> -
+
20){ + this.$swal.showValidationMessage( + `Please enter name upto 20 character` + ); + } return { name: this.name, email: this.email }; }, })