diff --git a/index.html b/index.html index d4273ea..c558e77 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + diff --git a/src/components/dashboard/RecentSalesWidget.vue b/src/components/dashboard/RecentSalesWidget.vue index b272ccb..4d80d82 100644 --- a/src/components/dashboard/RecentSalesWidget.vue +++ b/src/components/dashboard/RecentSalesWidget.vue @@ -12,26 +12,30 @@ function formatCurrency(value) { onMounted(() => { BelongingService.getAllBelongings().then((data) => (products.value = data)); }); + +function editBelonging(belongingId) { + router.push('/belonging/edit-belonging/' + belongingId); +}