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

N°6218 - 1:n & n:n - Read mode: No refresh of tab count on Add/Remove… #571

Open
wants to merge 1 commit into
base: support/3.1
Choose a base branch
from

Conversation

bdalsass
Copy link
Contributor

… in pop-up

@bdalsass bdalsass added UI internal Work made by Combodo labels Nov 14, 2023
@bdalsass bdalsass added this to the 3.1.1 milestone Nov 14, 2023
@bdalsass bdalsass self-assigned this Nov 14, 2023
Comment on lines +143 to +145
const sLabelledBy = oTabsPanel.attr('aria-labelledby'); // key to search for corresponding tab
const oTab = $(`.ibo-tab-container .ui-tabs-tab[aria-labelledby="${sLabelledBy}"] a`); // tab
oTab.html(json.recordsTotal > 0 ? sPanelTitle + ` (${json.recordsTotal})` : sPanelTitle); // update tab information
Copy link
Member

Choose a reason for hiding this comment

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

This could be moved to js/layouts/tab-container/tab-container.js so it's re-useable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, it could be useful

@piRGoif piRGoif removed this from the 3.1.1 milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Work made by Combodo UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants