Browse Source

fix ci.

main
Gisle Aune 4 years ago
parent
commit
5c0ecea506
  1. 2
      .drone.yml
  2. 2
      svelte-ui/src/components/Modal.svelte

2
.drone.yml

@ -78,7 +78,7 @@ steps:
commands:
- cd svelte-ui
- echo AWS_AMPLIFY_USER_POOL_ID=$AWS_AMPLIFY_USER_POOL_ID > build.env
- echo AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID=AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID >> build.env
- echo AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID=$AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID >> build.env
- npm install
- npm run build

2
svelte-ui/src/components/Modal.svelte

@ -10,8 +10,6 @@
onMount(() => {
const listener = (ev: KeyboardEvent) => {
console.log(ev.key);
if ((ev.ctrlKey || ev.altKey) && (ev.key === "Escape" || ev.key.toLowerCase() === "q")) {
dispatch("close");
}

Loading…
Cancel
Save