Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add purpose filter with trees, conservation and restoration #485

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ jobs:
name: 'ESLint on Ubuntu'
runs-on: ubuntu-latest # Can be self-hosted runner also
steps:

- name: 'Checkout the repository'
uses: actions/checkout@v2

- name: Upgrade npm to latest version
run: sudo npm i -g npm@latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: 'Install Node Modules'
run: npm install
run: npm install --legacy-peer-deps

- name: 'Running ESLint only showing errors'
run: npm run lint:errors
2 changes: 1 addition & 1 deletion src/Layout/QueryParamContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const QueryParamProvider: FC = ({ children }) => {
async function loadselectedProjects() {
try {
const requestParams = {
url: `/app/projects?_scope=map`,
url: `/app/projects?_scope=map&filter[purpose]=trees,restoration,conservation`,
setshowErrorCard,
tenant,
locale: i18n.language,
Expand Down
Loading