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 } =
|
const { createOneRecord: createOneAttachment } =
|
||||||
useCreateOneRecord<Attachment>({
|
useCreateOneRecord<Attachment>({
|
||||||
objectNameSingular: CoreObjectNameSingular.Attachment,
|
objectNameSingular: CoreObjectNameSingular.Attachment,
|
||||||
|
shouldMatchRootQueryFilter: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const uploadAttachmentFile = async (
|
const uploadAttachmentFile = async (
|
||||||
|
|||||||
@ -92,7 +92,6 @@ export const WorkflowVariablesDropdown = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dropdown
|
<Dropdown
|
||||||
dropdownWidth={320}
|
|
||||||
dropdownId={dropdownId}
|
dropdownId={dropdownId}
|
||||||
dropdownHotkeyScope={{
|
dropdownHotkeyScope={{
|
||||||
scope: dropdownId,
|
scope: dropdownId,
|
||||||
|
|||||||
Reference in New Issue
Block a user