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