From 8b303de958cd6543258a7be19e43999ab0b65f30 Mon Sep 17 00:00:00 2001 From: Jyrki Launonen Date: Mon, 2 Sep 2024 09:17:25 +0300 Subject: [PATCH 1/2] Update CI checkout action --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36e7e18..a0b76a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: Test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.12' From 78c7ec58208e32922d9c46c762eefad1e023762c Mon Sep 17 00:00:00 2001 From: Jyrki Launonen Date: Sat, 7 Sep 2024 12:07:10 +0300 Subject: [PATCH 2/2] Fix vendor note form submit override Caused enter to submit the form, effectively reloading the page without saving the note. --- kirppu/static_src/jst/vendor_notes.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kirppu/static_src/jst/vendor_notes.jsx b/kirppu/static_src/jst/vendor_notes.jsx index 202911f..525dfb9 100644 --- a/kirppu/static_src/jst/vendor_notes.jsx +++ b/kirppu/static_src/jst/vendor_notes.jsx @@ -10,7 +10,7 @@ export function AddVendorNote({withButton, withConfirm}) { noteInput.disabled = !this.checked } return ( -
false}> + false}> {withConfirm &&