|
@@ -561,7 +561,7 @@ async function handleImportUrl() {
|
|
|
function onLinkPaste() {
|
|
function onLinkPaste() {
|
|
|
// Wait for next tick to let v-model update
|
|
// Wait for next tick to let v-model update
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
- if ((modelLink.value.includes('thingiverse.com') || modelLink.value.includes('printables.com')) && !files.length) {
|
|
|
|
|
|
|
+ if ((modelLink.value.includes('thingiverse.com') || modelLink.value.includes('printables.com')) && !files.value.length) {
|
|
|
handleImportUrl();
|
|
handleImportUrl();
|
|
|
}
|
|
}
|
|
|
}, 100);
|
|
}, 100);
|