fix: wrong constraint with resource tab