eberhenriquez94 commited on
Commit
e3628e7
·
verified ·
1 Parent(s): 0a3ec9d
Files changed (1) hide show
  1. 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>