mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Fix sidebar drag
This commit is contained in:
@@ -12,14 +12,7 @@ export function useUpdateAnyRequest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const updatedRequest = { ...request, ...patch };
|
const updatedRequest = { ...request, ...patch };
|
||||||
|
await invoke('update_request', { request: updatedRequest });
|
||||||
await invoke('update_request', {
|
|
||||||
request: {
|
|
||||||
...updatedRequest,
|
|
||||||
createdAt: updatedRequest.createdAt.toISOString().replace('Z', ''),
|
|
||||||
updatedAt: updatedRequest.updatedAt.toISOString().replace('Z', ''),
|
|
||||||
},
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user