+ {isDownloadEnabled && (
+
+
+
+ )}
+
+
);
}
diff --git a/frontend/src/container/QueryTable/utils.ts b/frontend/src/container/QueryTable/utils.ts
new file mode 100644
index 0000000000..7341d69d31
--- /dev/null
+++ b/frontend/src/container/QueryTable/utils.ts
@@ -0,0 +1,14 @@
+import { RowData } from 'lib/query/createTableColumnsFromQuery';
+
+export function createDownloadableData(
+ inputData: RowData[],
+): Record