Page MenuHomePhabricator

[web] [refactor] move hasUsername logic to variable
ClosedPublic

Authored by benschac on Mar 23 2022, 1:03 PM.
Tags
None
Referenced Files
F3378427: D3508.diff
Wed, Nov 27, 10:30 AM
Unknown Object (File)
Sun, Nov 17, 1:34 AM
Unknown Object (File)
Fri, Nov 15, 6:07 AM
Unknown Object (File)
Thu, Nov 14, 6:20 PM
Unknown Object (File)
Thu, Nov 14, 4:34 PM
Unknown Object (File)
Thu, Nov 14, 4:34 PM
Unknown Object (File)
Thu, Nov 14, 4:34 PM
Unknown Object (File)
Sat, Nov 2, 8:04 AM

Details

Summary

move logic to variable thats descriptive of what it checks for

Image 2022-03-23 at 4.05.10 PM.jpg (1×3 px, 350 KB)

Image 2022-03-23 at 4.05.25 PM.jpg (2×2 px, 363 KB)

Test Plan

no new added functionality, username should render as normal

Diff Detail

Repository
rCOMM Comm
Branch
fix-hover-background-color
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat requested changes to this revision.Mar 23 2022, 8:40 PM

This is absolutely not the same logic

This revision now requires changes to proceed.Mar 23 2022, 8:40 PM
This revision is now accepted and ready to land.Mar 24 2022, 6:03 PM