Closed DanielSwain closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e9dba63
) 95.52% compared to head (87f9680
) 95.52%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
An empty
<ul>
was being rendered when backup_phones == None. Whitespace was also being rendered between the<ul></ul>
.Motivation and Context
The rendered element causes extra space to appear in the DOM at http://127.0.0.1:8000/account/two_factor/ before the "Add Phone Number" button when no backup phones have been registered.
How Has This Been Tested?
Tested locally at http://127.0.0.1:8000/account/two_factor/. An empty
<ul></ul>
is no longer rendered when navigating to this url prior to adding any backup phone numbers.Types of changes
Checklist: