- added btn 'csv report';
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { head, is, isEmpty, isNil, uniq } from 'ramda';
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ import { Accordion, AccordionTab } from 'primereact/accordion';
|
||||
// tools
|
||||
import uniqid from '../../../../../../helpers/uniqid';
|
||||
import removeKey from '../../../../../../helpers/removeKey';
|
||||
import { klona } from 'klona';
|
||||
|
||||
const ElementSettingTableColumns = ({
|
||||
value,
|
||||
|
||||
@@ -25,11 +25,11 @@ const ElementSettingTableColumnsForCsv = ({ name, setDataFn }) => {
|
||||
}
|
||||
|
||||
const setChecked = (value, index) => {
|
||||
let name = '';
|
||||
//let name = '';
|
||||
const newData = stateFieldData.map((o, i) => {
|
||||
if (i === index) {
|
||||
o.enableCsv = value;
|
||||
name = o.name;
|
||||
//name = o.name;
|
||||
}
|
||||
return o;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user