Bugfixes
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { mapState } from "pinia";
|
||||
import { defineComponent } from "vue";
|
||||
import { useBudgetsStore } from "../stores/budget";
|
||||
import Currency from "./Currency.vue";
|
||||
|
||||
export default defineComponent({
|
||||
props: [ "transaction", "index" ],
|
||||
components: { Currency }
|
||||
components: { Currency },
|
||||
computed: {
|
||||
...mapState(useBudgetsStore, ["CurrentBudgetID"])
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -18,7 +23,7 @@ export default defineComponent({
|
||||
{{ transaction.CategoryGroup ? transaction.CategoryGroup + " : " + transaction.Category : "" }}
|
||||
</td>
|
||||
<td>
|
||||
<a :href="'/budget/' + $store.getters.CurrentBudgetID + '/transaction/' + transaction.ID">
|
||||
<a :href="'/budget/' + CurrentBudgetID + '/transaction/' + transaction.ID">
|
||||
{{ transaction.Memo }}
|
||||
</a>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user