mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Added loading state in pie chart. (#11404)
This commit is contained in:
parent
aa4cd1fc2e
commit
fef97269ae
1 changed files with 21 additions and 19 deletions
|
|
@ -181,22 +181,25 @@ class Chart extends React.Component {
|
|||
),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
items.push({
|
||||
title: 'Options',
|
||||
children: (
|
||||
<>
|
||||
{renderElement(
|
||||
component,
|
||||
componentMeta,
|
||||
paramUpdated,
|
||||
dataQueries,
|
||||
'loadingState',
|
||||
'properties',
|
||||
currentState
|
||||
)}
|
||||
{renderElement(component, componentMeta, paramUpdated, dataQueries, 'showAxes', 'properties', currentState)}
|
||||
{renderElement(
|
||||
items.push({
|
||||
title: 'Options',
|
||||
children: (
|
||||
<>
|
||||
{renderElement(
|
||||
component,
|
||||
componentMeta,
|
||||
paramUpdated,
|
||||
dataQueries,
|
||||
'loadingState',
|
||||
'properties',
|
||||
currentState
|
||||
)}
|
||||
{chartType !== 'pie' &&
|
||||
renderElement(component, componentMeta, paramUpdated, dataQueries, 'showAxes', 'properties', currentState)}
|
||||
{chartType !== 'pie' &&
|
||||
renderElement(
|
||||
component,
|
||||
componentMeta,
|
||||
paramUpdated,
|
||||
|
|
@ -205,10 +208,9 @@ class Chart extends React.Component {
|
|||
'properties',
|
||||
currentState
|
||||
)}
|
||||
</>
|
||||
),
|
||||
});
|
||||
}
|
||||
</>
|
||||
),
|
||||
});
|
||||
|
||||
items.push({
|
||||
title: 'Events',
|
||||
|
|
|
|||
Loading…
Reference in a new issue