Skip to content
Open
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
5 changes: 4 additions & 1 deletion .github/workflows/rust-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'rust test'

on: push
on:
pull_request_target:
branches:
- main

# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'version check'

on:
pull_request:
push:
branches:
- 'release/*'

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/web-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'web test'

on: push
on:
pull_request_target:
branches:
- main

# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release.

Expand Down
2 changes: 1 addition & 1 deletion src/routes/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const update = (settingKey: keyof AppSettings) => (e: Event) => {
calendarState.updateAppSettings({ [settingKey]: (e.target as HTMLInputElement).value as AppSettings[typeof settingKey] });
}
const toggle = (settingKey: keyof AppSettings) => (e: Event) => {
const toggle = (settingKey: keyof AppSettings) => async (e: Event) => {
const checked = (e.target as HTMLInputElement).checked as boolean
calendarState.updateAppSettings({ [settingKey]: checked });

Expand Down