+ api.exportTimeEntries({
+ params: {
+ organization: organizationId,
+ },
+ queries: {
+ ...getFilterAttributes(),
+ format: format,
+ },
+ }),
+ 'Export successful',
+ 'Export failed'
+ );
+ window.open(response.download_url, '_self')?.focus();
+ }
+}
@@ -237,6 +261,8 @@ async function clearSelectionAndState() {
+