From 3d6a07f6f17f64d885b011831d07cc5321dc54d7 Mon Sep 17 00:00:00 2001 From: shrpne Date: Fri, 21 Oct 2022 18:04:45 +0300 Subject: [PATCH] feat(tokens): create tokens.js file to show pretty names or hide from suggestions --- components/Action.vue | 2 +- components/InvestmentList.vue | 2 +- .../card-list-data.js => data/cards-raw.js | 0 content/card-list.js => data/cards.js | 2 +- data/tokens.js | 23 +++++++++++++++++++ pages/index.vue | 2 +- pages/onboarding/index.vue | 2 +- 7 files changed, 28 insertions(+), 5 deletions(-) rename content/card-list-data.js => data/cards-raw.js (100%) rename content/card-list.js => data/cards.js (96%) create mode 100644 data/tokens.js diff --git a/components/Action.vue b/components/Action.vue index d07413c4..62ee86b8 100644 --- a/components/Action.vue +++ b/components/Action.vue @@ -3,7 +3,7 @@ import { waitUntil } from 'async-wait-until'; import getTitle from '~/assets/get-title.js'; import hashColor from '~/assets/hash-color.js'; import {isCoinId as isId} from 'minter-js-sdk/src/utils.js'; -import {flatCardList} from '~/content/card-list.js'; +import {flatCardList} from '~/data/cards.js'; import {translateCardField} from '~/components/Card.vue'; import HubBuyForm from '~/components/HubBuyForm.vue'; import Swap from '~/components/Swap.vue'; diff --git a/components/InvestmentList.vue b/components/InvestmentList.vue index 1c1d25f2..51b8d776 100644 --- a/components/InvestmentList.vue +++ b/components/InvestmentList.vue @@ -1,6 +1,6 @@