summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/models/_id/index.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/models/_id/index.vue b/pages/models/_id/index.vue
index e293584..6c5bbd4 100644
--- a/pages/models/_id/index.vue
+++ b/pages/models/_id/index.vue
@@ -98,14 +98,14 @@
:src="baseAPI + '' + upload.filepath"
)
model-stl(
- v-else-if="isStl(model.uploads[selectedUpload].filepath)"
+ v-else-if="isStl(upload.filepath)"
:rotate="rotate"
:src="baseAPI + '' + upload.filepath"
:backgroundColor="'#D1D5DB'"
:controlsOptions="{'enablePan': false, 'enableZoom': false, 'enableRotate': false}"
)
model-obj(
- v-else-if="isObj(model.uploads[selectedUpload].filepath)"
+ v-else-if="isObj(upload.filepath)"
:src="baseAPI + '' + upload.filepath"
:backgroundColor="'#D1D5DB'"
)