fix(task): use backdropView prop
This commit is contained in:
parent
db81701d38
commit
3566b889be
@ -705,7 +705,7 @@ const color = computed(() => {
|
|||||||
|
|
||||||
const hasAttachments = computed(() => attachmentStore.attachments.length > 0)
|
const hasAttachments = computed(() => attachmentStore.attachments.length > 0)
|
||||||
|
|
||||||
const isModal = computed(() => Boolean(backdropView))
|
const isModal = computed(() => Boolean(props.backdropView))
|
||||||
|
|
||||||
function attachmentUpload(file: File, onSuccess?: (url: string) => void) {
|
function attachmentUpload(file: File, onSuccess?: (url: string) => void) {
|
||||||
return uploadFile(props.taskId, file, onSuccess)
|
return uploadFile(props.taskId, file, onSuccess)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user