+
diff --git a/src/components/dialogs/manage-transaction/dialog-content.vue b/src/components/dialogs/manage-transaction/dialog-content.vue
index 6f87f9e9..7163427e 100644
--- a/src/components/dialogs/manage-transaction/dialog-content.vue
+++ b/src/components/dialogs/manage-transaction/dialog-content.vue
@@ -35,6 +35,7 @@ import { Button } from "@/components/lib/ui/button";
import TransactionRecrod from "@/components/transactions-list/transaction-record.vue";
import { ApiErrorResponseError } from "@/js/errors";
import { useNotificationCenter } from "@/components/notification-center";
+import { getInvalidationQueryKey } from "@/composable/data-queries/opposite-tx-record";
import TypeSelector from "./components/type-selector.vue";
import FormRow from "./components/form-row.vue";
import AccountField from "./components/account-field.vue";
@@ -260,6 +261,14 @@ const submit = async () => {
closeModal();
// Reload all cached data in the app
queryClient.invalidateQueries({ queryKey: [VUE_QUERY_TX_CHANGE_QUERY] });
+ if (props.transaction?.id) {
+ queryClient.invalidateQueries({ queryKey: getInvalidationQueryKey(props.transaction.id) });
+ }
+ if (props.oppositeTransaction?.id) {
+ queryClient.invalidateQueries({
+ queryKey: getInvalidationQueryKey(props.oppositeTransaction.id),
+ });
+ }
} catch (e) {
if (e instanceof ApiErrorResponseError) {
addErrorNotification(e.data.message);
@@ -363,7 +372,7 @@ onUnmounted(() => {
-
+
-
+
diff --git a/src/components/lib/ui/button/index.ts b/src/components/lib/ui/button/index.ts
index eb2f3c4e..3897d1eb 100644
--- a/src/components/lib/ui/button/index.ts
+++ b/src/components/lib/ui/button/index.ts
@@ -19,7 +19,7 @@ export const buttonVariants = cva(
default: "h-10 px-4 py-2",
sm: "h-9 rounded-md px-3",
lg: "h-11 rounded-md px-8",
- icon: "h-10 w-10",
+ icon: "size-10",
},
},
defaultVariants: {
diff --git a/src/components/lib/ui/card/CardContent.vue b/src/components/lib/ui/card/CardContent.vue
index 225ff7cb..77c2095c 100644
--- a/src/components/lib/ui/card/CardContent.vue
+++ b/src/components/lib/ui/card/CardContent.vue
@@ -10,7 +10,7 @@ const props = defineProps({
-
+
diff --git a/src/components/lib/ui/card/CardFooter.vue b/src/components/lib/ui/card/CardFooter.vue
index 225ff7cb..21906182 100644
--- a/src/components/lib/ui/card/CardFooter.vue
+++ b/src/components/lib/ui/card/CardFooter.vue
@@ -10,7 +10,7 @@ const props = defineProps({
-
+
diff --git a/src/components/lib/ui/card/CardHeader.vue b/src/components/lib/ui/card/CardHeader.vue
index 4a39391e..f0ebd297 100644
--- a/src/components/lib/ui/card/CardHeader.vue
+++ b/src/components/lib/ui/card/CardHeader.vue
@@ -10,7 +10,7 @@ const props = defineProps({
-
+
diff --git a/src/components/transactions-list/transaction-record.vue b/src/components/transactions-list/transaction-record.vue
index 2054ebf4..96cf6ac7 100644
--- a/src/components/transactions-list/transaction-record.vue
+++ b/src/components/transactions-list/transaction-record.vue
@@ -1,12 +1,8 @@