handle old actions

This commit is contained in:
Hetu Nandu 2020-02-18 16:33:25 +05:30
parent 23336f93f4
commit c312697dd2

View File

@ -386,7 +386,8 @@ class DynamicActionCreator extends React.Component<Props & ReduxStateProps> {
render() {
const { actions, value } = this.props;
const topLevelFuncValue = this.getTopLevelFuncValue(value);
const stringValue = typeof value === "string" ? value : "";
const topLevelFuncValue = this.getTopLevelFuncValue(stringValue);
const actionOptions = PropertyPaneActionDropdownOptions.map(o => {
if (o.id === "api") {
return {