preparing listingComponent to receive empty data and updated this data according to vue lifecycle hook

This commit is contained in:
RcleydsonR
2022-12-26 00:06:35 -03:00
parent d81580a134
commit 0f1822ae87
2 changed files with 29 additions and 12 deletions

View File

@@ -9,12 +9,9 @@ const { depositsAddedList } = storeToRefs(etherStore);
<template>
<div class="page">
<div class="header">
Gerenciar ofertas
</div>
<div class="header">Gerenciar ofertas</div>
<ListingComponent
v-if="depositsAddedList?.length != 0"
:wallet-transactions="depositsAddedList!"
:wallet-transactions="depositsAddedList"
:is-manage-mode="true"
></ListingComponent>
</div>
@@ -25,7 +22,7 @@ const { depositsAddedList } = storeToRefs(etherStore);
@apply flex flex-col gap-10 mt-20 w-full;
}
.header{
@apply text-3xl text-gray-900 leading-9 font-bold justify-center flex
.header {
@apply text-3xl text-gray-900 leading-9 font-bold justify-center flex;
}
</style>