Fix sidebar drag

This commit is contained in:
Gregory Schier
2023-03-24 08:37:52 -07:00
parent b81f1e9e6b
commit 8c65fce357

View File

@@ -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 });
},
});
}