Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui-oozie] Hide the widget drop zone above end if a decision node is present in the workflow #3793

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JohanAhlen
Copy link
Contributor

This takes care of a bug where it was possible to add a "detached" widget after a decision node in the Oozie workflow editor

Manually tested (unit testing effort would be too big)

…present in the workflow

This takes care of a bug where it was possible to add a "detached" widget after a decision node in the Oozie workflow editor
Comment on lines +1435 to +1441
self.containsDecisionNode = ko.pureComputed(function () {
return self.rows().some(function (row) {
return row.widgets().some(function (widget) {
return widget.widgetType() === 'decision-widget';
});
});
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this isn't transpiled by Babel and style is aligned with surrounding code

Copy link
Collaborator

@bjornalm bjornalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants