{{ name }}
{{ count }} {{ $t('feeds') }}
@@ -22,7 +22,7 @@ export default { type: String, required: true, }, - img: { + svg: { type: String, required: true, }, diff --git a/packages/ui/components/DataFeedDetails.vue b/packages/ui/components/DataFeedDetails.vue index bbd46275..5d9573b0 100644 --- a/packages/ui/components/DataFeedDetails.vue +++ b/packages/ui/components/DataFeedDetails.vue @@ -129,6 +129,7 @@ export default { `{address}`, this.feed.proxyAddress ), + logo: this.feed.logo, } } else { return null diff --git a/packages/ui/components/DataFeeds.vue b/packages/ui/components/DataFeeds.vue index 8fd9f7b2..3a2366cd 100644 --- a/packages/ui/components/DataFeeds.vue +++ b/packages/ui/components/DataFeeds.vue @@ -7,7 +7,7 @@ :name="feed.name" :decimals="feed.decimals" :time-to-update="feed.timeToUpdate" - :img="feed.img" + :svg="feed.svg" :value="feed.value" :last-result-timestamp="feed.lastResultTimestamp" :label="feed.label" @@ -23,6 +23,7 @@ import feeds from '@/apollo/queries/feeds.gql' import { formatSvgName } from '../utils/formatSvgName' export default { + name: 'DataFeeds', apollo: { feeds: { prefetch: true, @@ -35,7 +36,6 @@ export default { pollInterval: 60000, }, }, - name: 'DataFeeds', props: { network: { type: Object, @@ -84,6 +84,7 @@ export default { chain: feed.chain, color: feed.color, blockExplorer: feed.blockExplorer, + svg: feed.logo, } }) .sort((feed1, feed2) => feed1.name.localeCompare(feed2.name)) diff --git a/packages/ui/components/FeedCard.vue b/packages/ui/components/FeedCard.vue index 856ce806..68db875e 100644 --- a/packages/ui/components/FeedCard.vue +++ b/packages/ui/components/FeedCard.vue @@ -2,7 +2,7 @@{{ name.toUpperCase() }}
{{ $t('main.network_subtitle') }} diff --git a/packages/ui/components/SupportedChains.vue b/packages/ui/components/SupportedChains.vue index 8f426474..92c59d88 100644 --- a/packages/ui/components/SupportedChains.vue +++ b/packages/ui/components/SupportedChains.vue @@ -5,7 +5,7 @@ :key="chain.label" :name="chain.name" :details-path="chain.detailsPath" - :img="chain.img" + :svg="chain.svg" :count="chain.count" />
{{ name }}
{{ count }} {{ $t('feeds') }}
@@ -12,7 +12,7 @@