1
0
Fork 0
mirror of synced 2024-07-16 11:45:47 +12:00

review comments

This commit is contained in:
Martin McKeaveney 2024-05-15 15:29:38 +01:00
parent fddf82eaa7
commit 7748256516

View file

@ -12,7 +12,7 @@
export let schema
export let maximum
const { API, notifications, isCloud } = getContext("grid")
const { API, notifications, props } = getContext("grid")
const imageExtensions = ["png", "tiff", "gif", "raw", "jpg", "jpeg"]
let isOpen = false
@ -106,7 +106,7 @@
on:change={e => onChange(e.detail)}
maximum={maximum || schema.constraints?.length?.maximum}
{processFiles}
handleFileTooLarge={isCloud ? handleFileTooLarge : null}
handleFileTooLarge={$props.isCloud ? handleFileTooLarge : null}
/>
</div>
</GridPopover>