Skip to content

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 19, 2023
1 parent 046027f commit f4c8ed4
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 9 deletions.
17 changes: 11 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
node_modules/
dist/
.github/
package.json
package-lock.json
_src/
.emulator-data/
.github/
.storybook/
.vscode/
coverage/
apps-scripts/
coverage/
dist/
firebase-export-*/
functions/node_modules/
maps/
node_modules/
package-lock.json
package.json
public/assets/**
_src/
tests_old/
23 changes: 21 additions & 2 deletions src/components/search-wizard/QueryLayer.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,27 @@ const config = {
'Legend Title': 'n/a',
'Map Label Field': 'SYSFACID',
'Sort Field': 'n/a',
'Identify Attributes':
'SYSFACID (System-Facility ID), SYSNUMBER (System Number), SYSNAME (System Name), FACID (Facility Identifier), FACNAME (Facility Name), FACTYPEDESC (Facility Type Description), FACTYPECODE (Facility Type Code), FACACTIVITY (Facility Activity Status), SYSTYPE (System Type), SYSACTIVITY (System Activity Status), SYSPOPULATION (System Population), SYSPOPWHSALE (System Wholesale Population), SYSPHONE (System Phone), SYSPHONEEXT (System Phone Extension), SYSADDRESS1 (System Address1), SYSADDRESS2 (System Address2), SYSCITY (System City), SYSSTATE (System State), SYSZIP (System ZIP Code)\\n',
'Identify Fields': [
'SYSFACID (System-Facility ID)',
'SYSNUMBER (System Number)',
'SYSNAME (System Name)',
'FACID (Facility Identifier)',
'FACNAME (Facility Name)',
'FACTYPEDESC (Facility Type Description)',
'FACTYPECODE (Facility Type Code)',
'FACACTIVITY (Facility Activity Status)',
'SYSTYPE (System Type)',
'SYSACTIVITY (System Activity Status)',
'SYSPOPULATION (System Population)',
'SYSPOPWHSALE (System Wholesale Population)',
'SYSPHONE (System Phone)',
'SYSPHONEEXT (System Phone Extension)',
'SYSADDRESS1 (System Address1)',
'SYSADDRESS2 (System Address2)',
'SYSCITY (System City)',
'SYSSTATE (System State)',
'SYSZIP (System ZIP Code)',
],
'Related Tables': 'None',
'Result Grid Fields': [],
'Document Search':
Expand Down
2 changes: 1 addition & 1 deletion src/components/search-wizard/Wizard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default function SearchWizard() {
},
)
}
busy={downloadMutation.isLoading}
busy={downloadMutation.isPending}
>
Generate Downloads
</Button>
Expand Down
1 change: 1 addition & 0 deletions src/components/search-wizard/filters/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ describe('getWhere', () => {
Comments: '',
'Feature Service': '',
'Coded Values': '',
'Identify Fields': [],
};
it('returns null if attributeFilterConfig is empty', () => {
expect(
Expand Down

0 comments on commit f4c8ed4

Please sign in to comment.