From 30540212562125b48623aa8a846b2a9bbb987b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Fri, 2 Feb 2024 11:44:17 +0100 Subject: [PATCH] feat(export): New files name --- .../src/components/button-dropdown/index.jsx | 9 +++-- .../src/components/button-dropdown/index.scss | 3 +- client/src/pages/actions.jsx | 6 +-- client/src/utils/file.js | 40 +++++++++++++++---- 4 files changed, 42 insertions(+), 16 deletions(-) diff --git a/client/src/components/button-dropdown/index.jsx b/client/src/components/button-dropdown/index.jsx index 551cb79d..d5449867 100644 --- a/client/src/components/button-dropdown/index.jsx +++ b/client/src/components/button-dropdown/index.jsx @@ -6,7 +6,7 @@ import { export2Csv, export2FosmCsv, export2jsonl } from '../../utils/file'; import './index.scss'; -export default function ButtonDropdown({ data, label }) { +export default function ButtonDropdown({ data, label, searchParams }) { return (
0 ? 'enabled' : 'disabled'}`}> {label === 'publications' && (