Wizard: Add tooltip for disabled packages

This adds tooltip to the disabled packages checkboxes in the same way as the hover text is added on the Repositories step.
This commit is contained in:
regexowl 2025-04-29 16:39:49 +02:00 committed by Klara Simickova
parent 2fcfceafeb
commit 635636a202

View file

@ -1167,6 +1167,11 @@ const Packages = () => {
handleSelect(pkg, rowIndex, isSelecting),
isDisabled: isSelectDisabled(pkg),
}}
title={
isSelectDisabled(pkg)
? 'Disabled due to the package(s) you selected. You cannot select packages from different application stream versions.'
: ''
}
/>
<Td>{pkg.name}</Td>
<Td>