We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cc36f6 commit ee11616Copy full SHA for ee11616
1 file changed
frontend/src/components/CoinListView.vue
@@ -13,7 +13,6 @@ import i18n from "@/i18n/index.js";
13
const router = useRouter()
14
const service = useService();
15
16
-const presentationState = ref(imagePresentation)
17
const images = ref({})
18
const coinsList = ref([])
19
const searchVal = ref(null)
@@ -39,10 +38,10 @@ const props = defineProps({
39
38
});
40
41
onMounted(async () => {
42
- watch(presentationState, () => {
+ watch(imagePresentation,async () => {
43
images.value = {}
44
if (imagePresentation.value === 'image' && props.settings.type) {
45
- const coins_list = service.loadCoins()
+ const coins_list = await service.loadCoins()
46
coins_list.forEach((coin) => {
47
images.value[coin[0]] = coin[1];
48
0 commit comments