diff --git a/web/src/components/Autocomplete.vue b/web/src/components/Autocomplete.vue
index 10c1db2..19a8055 100644
--- a/web/src/components/Autocomplete.vue
+++ b/web/src/components/Autocomplete.vue
@@ -11,7 +11,7 @@ export interface Suggestion {
const props = defineProps<{
text: String,
id: String | undefined,
- type: String
+ model: String
}>();
const SearchQuery = ref(props.text || "");
@@ -29,7 +29,7 @@ function load(text: String) {
}
const budgetStore = useBudgetsStore();
- GET("/budget/" + budgetStore.CurrentBudgetID + "/autocomplete/" + props.type + "?s=" + text)
+ GET("/budget/" + budgetStore.CurrentBudgetID + "/autocomplete/" + props.model + "?s=" + text)
.then(x => x.json())
.then(x => {
let suggestions = x || [];
diff --git a/web/src/components/TransactionEditRow.vue b/web/src/components/TransactionEditRow.vue
index c48e074..4465dcc 100644
--- a/web/src/components/TransactionEditRow.vue
+++ b/web/src/components/TransactionEditRow.vue
@@ -25,7 +25,8 @@ const payload = computed(() => JSON.stringify({
function saveTransaction(e: MouseEvent) {
e.preventDefault();
- accountStore.saveTransaction(payload.value);
+ console.log(TX);
+ //accountStore.saveTransaction(payload.value);
}
@@ -35,10 +36,10 @@ function saveTransaction(e: MouseEvent) {