work in progress: predefinedmutations
linter / quality (push) Failing after 1m5s
tests / ci (8.3) (push) Failing after 49s
tests / ci (8.4) (push) Failing after 1m5s
tests / ci (8.5) (push) Failing after 1m5s

This commit is contained in:
Daan Meijer
2026-06-26 10:22:55 +02:00
parent 806d17842f
commit 89a48fae16
7 changed files with 120 additions and 6 deletions
+7 -1
View File
@@ -45,6 +45,12 @@ const props = defineProps<{
alignment: string;
status: string;
media?: Array<{ id: number; url: string; mime_type: string }>;
predefined_mutations?: Array<{
id: string;
name: string;
description: string | null;
amount: number;
}>;
mutations: Array<{
id: number;
user_id: number;
@@ -262,7 +268,7 @@ function isOwnerUser(userId: number): boolean {
</div>
<!-- Add Mutation Form Component -->
<AddMutationForm :dynamic-id="dynamic.id" :ledger-id="ledger.id" />
<AddMutationForm :dynamic-id="dynamic.id" :ledger-id="ledger.id" :predefined-mutations="ledger.predefined_mutations" />
<!-- Mutation List Component -->
<MutationList