refac: file item modal
This commit is contained in:
@@ -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