- updates;
This commit is contained in:
@@ -9,10 +9,7 @@ import { InputSwitch } from 'primereact/inputswitch';
|
|||||||
// store
|
// store
|
||||||
import { storeGet } from '../../../../../../store';
|
import { storeGet } from '../../../../../../store';
|
||||||
|
|
||||||
const ElementSettingTableColumnsForCsv = ({
|
const ElementSettingTableColumnsForCsv = ({ name, setDataFn }) => {
|
||||||
name,
|
|
||||||
setDataFn
|
|
||||||
}) => {
|
|
||||||
const [stateFieldData, setStateFieldData] = useState([]);
|
const [stateFieldData, setStateFieldData] = useState([]);
|
||||||
const canBeEnabled = stateFieldData.filter(o => o.predefined).length > 0;
|
const canBeEnabled = stateFieldData.filter(o => o.predefined).length > 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user