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

IBX-497: Redesign tabs for 4.0 #98

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

tischsoic
Copy link
Contributor

{% endfor %}
</div>
{% set tabs_to_show = [] %}
{% for tab in tabs %}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be cleaner to use map here

set tabs_to_show = tabs|map((tab, index) => {
        id: group ~ '-' ~ tab.identifier,
        label: tab.name,
        content: tab.view,
        active: index == 0,
    })

@tischsoic tischsoic requested a review from GrabowskiM June 25, 2021 07:49
@dew326 dew326 merged commit c9ef6c2 into master Jun 30, 2021
@dew326 dew326 deleted the IBX-497-as-editor-i-want-to-see-redesigned-tabs branch June 30, 2021 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants