Skip to content

Commit

Permalink
Merge pull request #950 from /issues/915
Browse files Browse the repository at this point in the history
minor bug fixed
  • Loading branch information
Pratap2018 authored Feb 17, 2022
2 parents 9147cc3 + 3635edb commit 9931407
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/views/admin/Events.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ i {
/>
</div>
</div>

<div class="col-md-4">
<div id="floatRight">

<multiselect
v-model="selected"
placeholder="Search events by tags"
Expand Down
5 changes: 5 additions & 0 deletions src/views/admin/TeamMate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ export default {
`Please enter valid email and name`
);
}
if(this.name.length>20){
this.$swal.showValidationMessage(
`Please enter name upto 20 character`
);
}
return { name: this.name, email: this.email };
},
})
Expand Down

0 comments on commit 9931407

Please sign in to comment.