Skip to content

[UI] Fix row click in parametric table when preview panel is disabled - #13206

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
carmelom:fix/parametric-table-row-click
Nov 7, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
carmelom:fix/parametric-table-row-click

Conversation

@carmelom

@carmelom carmelom commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

A click on a row of a parametric table always calls openGlobalPreview. When the user setting ENABLE_PREVIEW_PANEL is off (the default), the preview drawer is not rendered, so the click does nothing.

This applies the same check as InvenTreeTable: navigate to the detail page if the preview panel is disabled.

@netlify

netlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit e10bee4
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aedd3b8263a0cf68945978d
😎 Deploy Preview https://deploy-preview-13206--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (no change from production)
Accessibility: 82 (no change from production)
Best Practices: 92 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action User Interface Related to the frontend / User Interface backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch labels Nov 6, 2026
@SchrodingersGat SchrodingersGat added this to the 1.8.0 milestone Nov 6, 2026
@SchrodingersGat
SchrodingersGat merged commit 92f93a9 into inventree:master Nov 7, 2026
46 checks passed
@SchrodingersGat

Copy link
Copy Markdown
Member

@carmelom thanks for the fix here

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.7.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat pushed a commit that referenced this pull request Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch bug Identifies a bug which needs to be addressed User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants