Remove fixed width for dropdown variables, fix optimistic on file upload (#11507)
As title
This commit is contained in:
@ -22,6 +22,7 @@ export const useUploadAttachmentFile = () => {
|
||||
const { createOneRecord: createOneAttachment } =
|
||||
useCreateOneRecord<Attachment>({
|
||||
objectNameSingular: CoreObjectNameSingular.Attachment,
|
||||
shouldMatchRootQueryFilter: true,
|
||||
});
|
||||
|
||||
const uploadAttachmentFile = async (
|
||||
|
||||
@ -92,7 +92,6 @@ export const WorkflowVariablesDropdown = ({
|
||||
|
||||
return (
|
||||
<Dropdown
|
||||
dropdownWidth={320}
|
||||
dropdownId={dropdownId}
|
||||
dropdownHotkeyScope={{
|
||||
scope: dropdownId,
|
||||
|
||||
Reference in New Issue
Block a user