From a84c04b2f53b583a7393508f54f4778d4a65d96a Mon Sep 17 00:00:00 2001 From: ajay-dhangar Date: Fri, 1 Mar 2024 21:46:09 +0530 Subject: [PATCH] debug code based on good code quility --- .github/CODEOWNERS | 1 + README.md | 4 ++-- src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..5a392e8f73 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @ajay-dhangar \ No newline at end of file diff --git a/README.md b/README.md index 1dbc7b40b7..bdf7b6ab43 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,6 @@ This project is licensed under the [MIT License](#). - Website: [CMHQ.Tech](https://cmhq.tech) -## Workflows +## Workflows, Badges, and Analytics -[![Deploy to GitHub Pages](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml) [![Hadolint](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml) [![Docker Image CI](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml) [![CodeQL](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml) \ No newline at end of file +[![Deploy to GitHub Pages](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml) [![Hadolint](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml) [![Docker Image CI](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml) [![CodeQL](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml)[![CodeScene general](https://codescene.io/images/analyzed-by-codescene-badge.svg)](https://codescene.io/projects/50606)[![CodeScene System Mastery](https://codescene.io/projects/50606/status-badges/system-mastery)](https://codescene.io/projects/50606)[![CodeScene Missed Goals](https://codescene.io/projects/50606/status-badges/missed-goals)](https://codescene.io/projects/50606)[![CodeScene Code Health](https://codescene.io/projects/50606/status-badges/code-health)](https://codescene.io/projects/50606)[![DeepScan grade](https://deepscan.io/api/teams/22888/projects/26587/branches/848459/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=22888&pid=26587&bid=848459) \ No newline at end of file diff --git a/src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx b/src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx index 33b3bbb495..b7ed96a6b7 100644 --- a/src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx +++ b/src/pages/showcase/_components/ShowcaseFilterToggle/index.tsx @@ -35,7 +35,7 @@ export default function ShowcaseFilterToggle(): JSX.Element { const searchParams = new URLSearchParams(location.search); searchParams.delete(OperatorQueryKey); if (!operator) { - searchParams.append(OperatorQueryKey, operator ? 'OR' : 'AND'); + searchParams.append(OperatorQueryKey, 'AND'); } history.push({ ...location,