fix icon size + fix display name valid checks
This commit is contained in:
@@ -168,15 +168,23 @@ export default {
|
||||
},
|
||||
displayNameInvalid () {
|
||||
if (this.temporaryDisplayName.length <= 1) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return this.displayNameIssues.length !== 0;
|
||||
},
|
||||
displayNameCannotSubmit () {
|
||||
return this.displayNameInvalid || !this.inputChanged;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
temporaryDisplayName: {
|
||||
handler () {
|
||||
this.validateDisplayName(this.temporaryDisplayName);
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
},
|
||||
mounted () {
|
||||
this.restoreDisplayName();
|
||||
},
|
||||
|
||||
@@ -116,8 +116,8 @@ input {
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
width: 12px;
|
||||
height: 10px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: $green-50;
|
||||
}
|
||||
|
||||
|
||||
@@ -120,8 +120,8 @@ input {
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
width: 12px;
|
||||
height: 10px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: $green-50;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user