This commit is contained in:
Timothy J. Baek
2024-09-29 23:08:55 +02:00
parent 677c36c3aa
commit 6afc686e17
6 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
class="h-14 {className} flex items-center space-x-3 {colorClassName} rounded-xl border border-gray-100 dark:border-gray-800 text-left"
type="button"
on:click={async () => {
if (file.content) {
if (file?.file?.content) {
showModal = !showModal;
} else {
if (url) {