cedarstalking with keyboard shortcuts
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: force true false evaluation

+4 -4
+4 -4
src/search-directory.tsx
··· 220 220 text={person.DepartmentDescription} 221 221 /> 222 222 )} 223 - {(isStaff || 223 + {!!(isStaff || 224 224 person.StudentClass || 225 225 person.studentWorker) && <Detail.Metadata.Separator />} 226 226 {isStaff ? ( ··· 267 267 /> 268 268 </Detail.Metadata.TagList> 269 269 )} 270 - {(person.DormName || 270 + {!!(person.DormName || 271 271 person.OfficeBuildingName || 272 272 person.OfficePhone) && <Detail.Metadata.Separator />} 273 273 {person.DormName && ( ··· 296 296 text={formatPhone(person.OfficePhone)} 297 297 /> 298 298 )} 299 - {(person.AddressCity || person.AddressState) && ( 299 + {!!(person.AddressCity || person.AddressState) && ( 300 300 <Detail.Metadata.Separator /> 301 301 )} 302 - {(person.AddressCity || person.AddressState) && ( 302 + {!!(person.AddressCity || person.AddressState) && ( 303 303 <Detail.Metadata.Label 304 304 title="Hometown" 305 305 text={[person.AddressCity, person.AddressState]