From 6ae36fe65224fc5d5b0ee8924bf3bdd4a4daec19 Mon Sep 17 00:00:00 2001 From: Yaroslav Ermilov <25526713+ya-erm@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:07:20 +0300 Subject: [PATCH 1/2] Fix operation type switch --- src/routes/transactions/form/TypeSwitch.svelte | 2 +- src/routes/uikit/Switches.svelte | 4 ++-- src/routes/v1/transactions/TypeSwitch.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/transactions/form/TypeSwitch.svelte b/src/routes/transactions/form/TypeSwitch.svelte index 4dd1fcf..ccb9e7f 100644 --- a/src/routes/transactions/form/TypeSwitch.svelte +++ b/src/routes/transactions/form/TypeSwitch.svelte @@ -23,7 +23,7 @@ option.id === type)} - on:change={(e) => handleChange(e.detail)} + onChange={handleChange} testId="TypeSwitch" {options} {disabled} diff --git a/src/routes/uikit/Switches.svelte b/src/routes/uikit/Switches.svelte index 8c3b55c..48408f1 100644 --- a/src/routes/uikit/Switches.svelte +++ b/src/routes/uikit/Switches.svelte @@ -13,9 +13,9 @@

MultiSwitch

- + (selected = item)} />
- + (selected = item)} />
diff --git a/src/routes/v1/transactions/TypeSwitch.svelte b/src/routes/v1/transactions/TypeSwitch.svelte index 45f5304..22bfd4b 100644 --- a/src/routes/v1/transactions/TypeSwitch.svelte +++ b/src/routes/v1/transactions/TypeSwitch.svelte @@ -26,7 +26,7 @@ option.id === type)} - on:change={(e) => handleChange(e.detail)} + onChange={handleChange} testId="TypeSwitch" {options} {disabled} From 30615e6fc4c3128804d2b9a153d4e4739fec3bc4 Mon Sep 17 00:00:00 2001 From: Yaroslav Ermilov <25526713+ya-erm@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:07:44 +0300 Subject: [PATCH 2/2] Version 2.8.3 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index df54c7b..4daa07b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "client", - "version": "2.8.2", + "version": "2.8.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "client", - "version": "2.8.2", + "version": "2.8.3", "dependencies": { "@prisma/client": "^4.14.1", "@vercel/analytics": "^1.0.1", diff --git a/package.json b/package.json index b4d9075..3dfe0f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "client", - "version": "2.8.2", + "version": "2.8.3", "private": true, "scripts": { "dev": "vite dev",