diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f26f04e..9e4e3f0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,5 +32,5 @@ jobs: poetry install - name: Lint backend - working-directory: frontend - run: flake8 . + working-directory: backend + run: poetry run flake8 . diff --git a/frontend/src/app/components/upgradeModal.component.pug b/frontend/src/app/components/upgradeModal.component.pug index d2c0b02..9ce1ca8 100644 --- a/frontend/src/app/components/upgradeModal.component.pug +++ b/frontend/src/app/components/upgradeModal.component.pug @@ -18,7 +18,7 @@ p.mt-3 If you work in education, have already supported me on Ko-fi before, or your country isn't supported on GitHub Sponsors, just #[a(href='mailto:e@ajenti.org?subject=Help with Tabby Pro') let me know] and I'll hook you up. - .mb-3(*ngIf='!loginService.user.github_username') + .mb-3(*ngIf='!loginService.user?.github_username') a.btn.btn-info(href='{{commonService.backendURL}}/api/1/auth/social/login/github') fa-icon([icon]='_githubIcon', [fixedWidth]='true') span Connect your GitHub account to link your sponsorship