Skip to content

Commit

Permalink
fix loading for oracle events
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek committed Aug 9, 2023
1 parent dfcbcb7 commit 4487bf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/OracleEventsPanel.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<app-panel class="oracle-events-panel">
<paginated-content
v-if="oracleEvents"
v-model:page-index="pageIndex"
:entities="oracleEvents"
pagination-style="history"
Expand All @@ -15,7 +14,6 @@
:oracle-events="oracleEvents"
class="oracle-events-panel__table-condensed"/>
</paginated-content>
<data-failed-state v-else/>
</app-panel>
</template>

Expand All @@ -24,7 +22,6 @@ import { storeToRefs } from 'pinia'
import { useOracleDetailsStore } from '@/stores/oracleDetails'
import OracleEventsTable from '@/components/OracleEventsTable'
import OracleEventsTableCondensed from '@/components/OracleEventsTableCondensed'
import DataFailedState from '@/components/DataFailedState'
const oracleDetailsStore = useOracleDetailsStore()
const { oracleEvents } = storeToRefs(oracleDetailsStore)
Expand Down
2 changes: 1 addition & 1 deletion src/components/PaginatedContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div
ref="paginatedContent"
class="paginated-content">
<template v-if="entities !== null">
<template v-if="entities">
<header class="paginated-content__header">
<div class="paginated-content__counter">
<span v-if="hasCounter">
Expand Down

0 comments on commit 4487bf6

Please sign in to comment.