mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:46:59 +00:00
fix(nc-gui): by default show drop or browse file box in expanded form
This commit is contained in:
@@ -314,7 +314,7 @@ export const [useProvideAttachmentCell, useAttachmentCell] = useInjectionState(
|
||||
|
||||
/** save files on drop */
|
||||
async function onDrop(droppedFiles: FileList | File[] | null, event: DragEvent) {
|
||||
if (isReadonly.value) return
|
||||
if (isReadonly.value || !isEditAllowed.value) return
|
||||
|
||||
if (droppedFiles) {
|
||||
// set files
|
||||
|
||||
Reference in New Issue
Block a user