Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 7d128bb

Browse files
authored
Merge pull request #11539 from kodadot/fix--install-mdi-icons-locally
fix: install mdi icons locally
2 parents 993659e + de58c74 commit 7d128bb

File tree

3 files changed

+422
-214
lines changed

3 files changed

+422
-214
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@
114114
"devDependencies": {
115115
"@0no-co/graphqlsp": "^1.12.14",
116116
"@dargmuesli/nuxt-cookie-control": "^7.5.1",
117+
"@iconify-json/mdi": "^1.2.3",
117118
"@nuxt/content": "^2.13.2",
118119
"@nuxt/eslint": "^0.3.13",
119-
"@nuxt/icon": "1.10.3",
120+
"@nuxt/icon": "^1.12.0",
120121
"@nuxt/types": "^2.18.1",
121122
"@nuxtjs/color-mode": "^3.5.1",
122123
"@nuxtjs/device": "^3.2.2",

pages/drop-checker/[chain]/[collection-id].vue renamed to pages/drop-checker/[chain]/[collection].vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,19 @@
200200
<td class="align-middle">
201201
<div v-if="drop[0] === 'image' || drop[0] === 'banner'">
202202
<img
203-
:src="sanitizeIpfsUrl(drop[1].toString())"
203+
:src="sanitizeIpfsUrl(drop[1]?.toString())"
204204
width="100"
205205
>
206206
</div>
207207
<div v-else-if="drop[0] === 'content'">
208208
<iframe
209-
:src="sanitizeIpfsUrl(drop[1].toString())"
209+
:src="sanitizeIpfsUrl(drop[1]?.toString())"
210210
frameborder="0"
211211
title="genart"
212212
/>
213213
</div>
214214
<div v-else-if="drop[0] === 'price'">
215-
: {{ formatAmountWithRound(drop[1].toString(), decimals) }}
215+
: {{ formatAmountWithRound(drop[1]?.toString() || '', decimals) }}
216216
{{ chainSymbol }}
217217
</div>
218218
<div v-else>
@@ -316,7 +316,7 @@ import { formatAmountWithRound } from '@/utils/format/balance'
316316
317317
const { params } = useRoute()
318318
const chain = params.chain.toString()
319-
const collectionId = params['collectionid'].toString()
319+
const collectionId = params.collection.toString()
320320
321321
const { chainSymbol, decimals } = useChain()
322322

0 commit comments

Comments
 (0)