Skip to content

Commit 7e57fb5

Browse files
authored
Promote COVIDcast option in load dialog (#109)
* move 'covidcast' to the 2nd position in the 'load api' dialog, and hint at future renaming * also get useful output from prettier in CI...
1 parent bbef53e commit 7e57fb5

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"start": "rollup -c -w",
2525
"server": "sirv public --no-clear --port 8080",
2626
"validate": "svelte-check",
27-
"lint": "eslint src --ext .ts,.js,.svelte && prettier --check \"**/*\"",
27+
"lint": "eslint src --ext .ts,.js,.svelte && (prettier --check \"**/*\" || (prettier --write \"**/*\" ; git diff ; false))",
2828
"fix": "eslint src --ext .ts,.js,.svelte --fix && prettier --write \"**/*\"",
2929
"prepare": "husky install",
3030
"prepack": "npm run build",

src/components/dialogs/ImportAPIDialog.svelte

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@
6666
ILINet (aka FluView) (source:
6767
<a target="_blank" href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html">cdc.gov</a>)
6868
</label>
69+
<label
70+
><input
71+
class="uk-radio"
72+
type="radio"
73+
name="dataSource"
74+
bind:group={$formSelections.dataSource}
75+
value="covidcast"
76+
/>
77+
Delphi Indicators (aka COVIDcast) (source:
78+
<a target="_blank" href="https://delphi.cmu.edu/">delphi.cmu.edu</a>)</label
79+
>
6980
<label
7081
><input
7182
class="uk-radio"
@@ -165,16 +176,6 @@
165176
/>
166177
Delphi Nowcast (source: <a target="_blank" href="https://delphi.cmu.edu/">delphi.cmu.edu</a>)</label
167178
>
168-
<label
169-
><input
170-
class="uk-radio"
171-
type="radio"
172-
name="dataSource"
173-
bind:group={$formSelections.dataSource}
174-
value="covidcast"
175-
/>
176-
Delphi COVIDcast (source: <a target="_blank" href="https://delphi.cmu.edu/">delphi.cmu.edu</a>)</label
177-
>
178179
<label
179180
><input
180181
class="uk-radio"

0 commit comments

Comments
 (0)