Skip to content

Commit

Permalink
bugfix #57
Browse files Browse the repository at this point in the history
  • Loading branch information
OlliL committed May 5, 2024
1 parent 544500a commit f6adc40
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/views/etf/ListPreliminaryLumpSums.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@
type="button"
class="btn btn-primary mx-2"
@click="
showCreateEtfPreliminaryLumpSumModal(selectedEtf, selectedYear)
showCreateEtfPreliminaryLumpSumModal(
selectedEtf,
etfPreliminaryLumpSum,
)
"
>
{{ $t("General.edit") }}
Expand Down Expand Up @@ -216,20 +219,19 @@ const loadYears = (etfId: number, year?: number) => {
const showCreateEtfPreliminaryLumpSumModal = (
etfId?: number,
year?: number,
mep?: EtfPreliminaryLumpSum,
) => {
(createModal.value as typeof CreateEtfPreliminaryLumpSumModalVue)._show(
etfs.value,
etfId,
year,
mep,
);
};
const showDeleteEtfPreliminaryLumpSumModal = () => {
(deleteModal.value as typeof DeleteEtfPreliminaryLumpSumModalVue)._show(
etfs.value,
selectedEtf.value,
selectedYear.value,
etfPreliminaryLumpSum.value,
);
};
Expand Down

0 comments on commit f6adc40

Please sign in to comment.