Spaces:
Build error
Build error
- frontend/Index.svelte +2 -2
frontend/Index.svelte
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
}
|
| 45 |
}
|
| 46 |
|
| 47 |
-
$: if (value) {
|
| 48 |
loadPDF(value);
|
| 49 |
}
|
| 50 |
</script>
|
|
@@ -73,4 +73,4 @@
|
|
| 73 |
gap: 10px;
|
| 74 |
margin-top: 10px;
|
| 75 |
}
|
| 76 |
-
</style>
|
|
|
|
| 44 |
}
|
| 45 |
}
|
| 46 |
|
| 47 |
+
$: if (value?.url) {
|
| 48 |
loadPDF(value);
|
| 49 |
}
|
| 50 |
</script>
|
|
|
|
| 73 |
gap: 10px;
|
| 74 |
margin-top: 10px;
|
| 75 |
}
|
| 76 |
+
</style>
|