fix: data compatible processing
This commit is contained in:
parent
a94e3be787
commit
b2a2523210
@ -19,15 +19,15 @@ onMounted(()=>{
|
|||||||
</VTabs>
|
</VTabs>
|
||||||
<VWindow v-model="tab" class="mt-5">
|
<VWindow v-model="tab" class="mt-5">
|
||||||
<VWindowItem value="2">
|
<VWindowItem value="2">
|
||||||
<ProposalListItem :proposals="store.proposals['2']"/>
|
<ProposalListItem :proposals="store?.proposals['2']"/>
|
||||||
</VWindowItem>
|
</VWindowItem>
|
||||||
|
|
||||||
<VWindowItem value="3">
|
<VWindowItem value="3">
|
||||||
<ProposalListItem :proposals="store.proposals['3']"/>
|
<ProposalListItem :proposals="store?.proposals['3']"/>
|
||||||
</VWindowItem>
|
</VWindowItem>
|
||||||
|
|
||||||
<VWindowItem value="4">
|
<VWindowItem value="4">
|
||||||
<ProposalListItem :proposals="store.proposals['4']"/>
|
<ProposalListItem :proposals="store?.proposals['4']"/>
|
||||||
</VWindowItem>
|
</VWindowItem>
|
||||||
</VWindow>
|
</VWindow>
|
||||||
</div>
|
</div>
|
||||||
|
@ -154,7 +154,7 @@ function shortName(name: string, id: string) {
|
|||||||
<VCardTitle>Active Proposals</VCardTitle>
|
<VCardTitle>Active Proposals</VCardTitle>
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VCardItem>
|
<VCardItem>
|
||||||
<ProposalListItem :proposals="store.proposals" />
|
<ProposalListItem :proposals="store?.proposals" />
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VCardText v-if="store.proposals.length === 0">No active proposals</VCardText>
|
<VCardText v-if="store.proposals.length === 0">No active proposals</VCardText>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
Loading…
Reference in New Issue
Block a user