mirror of
https://github.com/Lissy93/dashy.git
synced 2026-01-09 01:14:46 +01:00
🐛 Fix logic in GH profile widget
This commit is contained in:
parent
802fb625d7
commit
970b417f44
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue