mirror of https://github.com/lissy93/dashy
🐛 Fix logic in GH profile widget
This commit is contained in:
parent
1296ca0bda
commit
5867601f1a
|
@ -23,7 +23,7 @@ export default {
|
|||
},
|
||||
username() {
|
||||
const usersChoice = this.options.username;
|
||||
if ((this.hideLanguagesCard || this.hideLanguagesCard) && !usersChoice) {
|
||||
if ((!this.hideProfileCard || !this.hideLanguagesCard) && !usersChoice) {
|
||||
this.error('You must specify a GitHub username');
|
||||
}
|
||||
return usersChoice;
|
||||
|
|
Loading…
Reference in New Issue