handle old actions
This commit is contained in:
parent
23336f93f4
commit
c312697dd2
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user