Fix stack attribute detection

fix(router-outlet): fix stack attribute detection (#14921)
Fix stack attribute detectionfixfix stack attribute detection router outlet

Committed by kensodemann

commit message
fix(router-outlet): fix stack attribute detection (#14921)

(stack !== 'false' OR stack !== false) will always be TRUE. That OR should be an AND.

Editor assessment

The subject names the defect area precisely: stack attribute detection in the router outlet. The body then does what few bodies do: it states the boolean logic error outright, showing that '(stack !== 'false' OR stack !== false)' is always true and that the OR should be an AND. That is a self-contained lesson in the bug's mechanics, requiring no diff. fix(router-outlet) and the scope are accurate, and hygiene is clean. An exemplary small-fix message.

Browse categories

More fix examples · Back to search