File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * Created Date: 2025-09-08 15:39:55
66 * Author: 3urobeat
77 *
8- * Last Modified: 2026-04-29 18:33:15
8+ * Last Modified: 2026-04-30 09:12:47
99 * Modified By: 3urobeat
1010 *
1111 * Copyright (c) 2025 - 2026 3urobeat <https://github.com/3urobeat>
185185 if (clothingId != " new" ) {
186186 thisClothing .value = (await getClothingFromServer (clothingId )).value .document ! ; // TODO: Does ref break?
187187
188- thisClothingImgBlob .value = (await getSSRImageFromServer (thisClothing .value .imgPath , 512 ))?.value .document ?.imgBlob || " " ; // TODO: Does ref break?
188+ // I think it actually provides a better user experience fetching the image afterwards here
189+ // thisClothingImgBlob.value = (await getSSRImageFromServer(thisClothing.value.imgPath, 512))?.value.document?.imgBlob || "";
190+ onMounted (async () => {
191+ thisClothingImgBlob .value = (await getImageFromServer (thisClothing .value .imgPath , 512 ))?.imgBlob || " " ; // TODO: Does ref break?
192+ });
189193 }
190194
191195
You can’t perform that action at this time.
0 commit comments