Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bguillaumat committed Jan 22, 2021
1 parent 96dfbb5 commit 11aeb54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
size="lg"
:disabled="isChangingName || newName.length === 0"
@click="changeName"
>{{ isChangingName ? 'Changing Name...' : 'Change name'}}</b-button>
>{{ isChangingName ? 'Changing name...' : 'Change name'}}</b-button>
</div>
</b-modal>
</div>
Expand Down Expand Up @@ -441,7 +441,7 @@ export default {
},
async changeName() {
if (this.newName.length === 0) {
return this.$bvToast.toast("Trying to set an empty name...", {
return this.$bvToast.toast("You're name must not be empty!", {
title: "Error",
autoHideDelay: 3000,
variant: "danger",
Expand Down Expand Up @@ -475,7 +475,7 @@ export default {
}
this.$bvToast.toast(
`You've successfully changed your Name`,
`You've successfully changed your name`,
{
title: "Name Changed",
autoHideDelay: 3000,
Expand Down

0 comments on commit 11aeb54

Please sign in to comment.