Skip to content

Commit

Permalink
chore: trim name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed May 9, 2023
1 parent 4dd228f commit d424509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/app/perfil.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default {
methods: {
async editName () {
this.edit.nombre = !this.edit.nombre;
this.user.nombre = this.user.nombre.trim();
const input = this.$refs.nombre;
if (this.edit.nombre) {
input.focus();
Expand Down

0 comments on commit d424509

Please sign in to comment.