mirror of
https://github.com/logos-storage/ethcc-demo.git
synced 2026-01-07 15:43:11 +00:00
download images from network when request cancelled or finished
This commit is contained in:
parent
8118a9f911
commit
22fe987c3b
@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, onUnmounted, computed } from 'vue'
|
import { onMounted, computed } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { initTooltips } from 'flowbite'
|
import { initTooltips } from 'flowbite'
|
||||||
import { getStateColour, moderatedState, price } from '@/utils/requests'
|
import { getStateColour, moderatedState, price } from '@/utils/requests'
|
||||||
@ -48,7 +48,6 @@ const stateColour = computed(() => getStateColour(request.value.state))
|
|||||||
<CodexImage
|
<CodexImage
|
||||||
class="flex-initial mx-auto my-4 min-w-sm max-w-md w-full rounded"
|
class="flex-initial mx-auto my-4 min-w-sm max-w-md w-full rounded"
|
||||||
:cid="request.content.cid"
|
:cid="request.content.cid"
|
||||||
:local-only="!['New', 'Fulfilled'].includes(request.state)"
|
|
||||||
:moderated="enableModeration ? 'approved' : request.moderated"
|
:moderated="enableModeration ? 'approved' : request.moderated"
|
||||||
></CodexImage>
|
></CodexImage>
|
||||||
<div class="py-4 px-4 ml-4 max-w-2xl flex-1">
|
<div class="py-4 px-4 ml-4 max-w-2xl flex-1">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user