Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StackStorm/st2web
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5c90fdde162f441b4ed3adec4ea73687b44869e5
Choose a base ref
..
head repository: StackStorm/st2web
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5b0c841aaedd4dcd01780187606c223d2eae3023
Choose a head ref
1 change: 0 additions & 1 deletion apps/st2-actions/actions-panel.component.js
Original file line number Diff line number Diff line change
@@ -303,7 +303,6 @@ export default class ActionsPanel extends React.Component {
</PanelView>

<ActionsDetails
ref={(ref) => this._details = ref}
handleNavigate={(...args) => this.navigate(...args)}
handleRun={(...args) => this.handleRun(...args)}
handleDelete={(...arg) => this.handleDelete(...arg)}
1 change: 0 additions & 1 deletion apps/st2-history/history-panel.component.js
Original file line number Diff line number Diff line change
@@ -531,7 +531,6 @@ export default class HistoryPanel extends React.Component {
</PanelView>

<HistoryDetails
ref={(ref) => this._details = ref}
handleNavigate={(...args) => this.navigate(...args)}
handleRerun={(...args) => this.handleRerun(...args)}
handleCancel={(...args) => this.handleCancel(...args)}
1 change: 0 additions & 1 deletion apps/st2-rules/rules-panel.component.js
Original file line number Diff line number Diff line change
@@ -281,7 +281,6 @@ export default class RulesPanel extends React.Component {
</PanelView>

<RulesDetails
ref={(ref) => this._details = ref}
onNavigate={(...args) => this.navigate(...args)}

id={id}
10 changes: 10 additions & 0 deletions apps/st2-workflows/workflows.component.js
Original file line number Diff line number Diff line change
@@ -266,6 +266,16 @@ export default class Workflows extends Component {

const promise = (async () => {
if (existingAction) {

// remove "_name" key from parameter keys for successful request
if (meta.parameters) {
Object.keys(meta.parameters).forEach(key => {
if (meta.parameters[key]._name) {
delete meta.parameters[key]._name;
}
});
}

await api.request({ method: 'put', path: `/actions/${pack}.${meta.name}` }, meta);
}
else {