From 5867601f1a946312270b277b7c2b38325e0d69d2 Mon Sep 17 00:00:00 2001 From: Alicie Date: Sun, 26 Dec 2021 23:01:23 +0000 Subject: [PATCH] :bug: Fix logic in GH profile widget --- src/components/Widgets/GitHubProfile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;