mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-17 14:11:23 +01:00
Fix sidebar drag
This commit is contained in:
1 parent
dcc2c053f8
commit
41390e9142
1 file changed
+1
-8
@@ -12,14 +12,7 @@ export function useUpdateAnyRequest() {
|
||||
}
|
||||
|
||||
const updatedRequest = { ...request, ...patch };
|
||||
|
||||
await invoke('update_request', {
|
||||
request: {
|
||||
...updatedRequest,
|
||||
createdAt: updatedRequest.createdAt.toISOString().replace('Z', ''),
|
||||
updatedAt: updatedRequest.updatedAt.toISOString().replace('Z', ''),
|
||||
},
|
||||
});
|
||||
await invoke('update_request', { request: updatedRequest });
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user