Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:bug: Fix logic in GH profile widget

Alicia Sykes970b417f442a
diff --git a/src/components/Widgets/GitHubProfile.vue b/src/components/Widgets/GitHubProfile.vue
index d45f5418..4f7de097 100644
--- a/src/components/Widgets/GitHubProfile.vue
+++ b/src/components/Widgets/GitHubProfile.vue
@@ -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;