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

Reduced vis tab checking to 2 elements #533

Merged
merged 1 commit into from
Jun 7, 2018
Merged

Conversation

jesusgn90
Copy link
Contributor

Since we'll have more than one agents tab without visualizations in further packages we've fixed the solution previously merged to be a bit more generic.

Now it only stores last two tabs only if their content includes visualizations. This way we can simply check arr[0] === arr[1] to detect if it's a local change.

Regards,
Jesús

@jesusgn90 jesusgn90 added the type/enhancement Enhancement issue label Jun 7, 2018
@jesusgn90 jesusgn90 self-assigned this Jun 7, 2018
@havidarou
Copy link
Member

LGTM!

@havidarou havidarou merged commit 9dbd8fa into 3.2 Jun 7, 2018
@havidarou havidarou deleted the 3.2-hotfix-agents-2 branch June 7, 2018 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Enhancement issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants