refac: file item modal
This commit is contained in:
1 parent
52030a241c
commit
40617b9e0e
2 files changed
+39
-7
No files matched your search
@@ -51,7 +51,7 @@
|
||||
: 'rounded-2xl'} text-left"
|
||||
type="button"
|
||||
on:click={async () => {
|
||||
if (item?.file?.data?.content || modal) {
|
||||
if (item?.file?.data?.content || item?.type === 'file' || modal) {
|
||||
showModal = !showModal;
|
||||
} else {
|
||||
if (url) {
|
||||
|
||||
Reference in new issue
Block a user