mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-07-30 09:48:47 -04:00
Set showPhotos default to true in display options logic
This commit is contained in:
@@ -21,7 +21,7 @@ export type DisplayOptions = {
|
||||
}
|
||||
|
||||
export const initialDisplayOptions: DisplayOptions = {
|
||||
showPhotos: undefined,
|
||||
showPhotos: true,
|
||||
showAge: undefined,
|
||||
showGender: undefined,
|
||||
showLanguages: true,
|
||||
|
||||
@@ -17,7 +17,6 @@ export function useDisplayOptions(profile?: any) {
|
||||
if (profile && displayOptions.showPhotos === undefined) {
|
||||
const isLookingForRelationship = !!profile?.pref_relation_styles?.includes('relationship')
|
||||
updateDisplayOptions({
|
||||
showPhotos: isLookingForRelationship,
|
||||
showAge: isLookingForRelationship,
|
||||
showGender: isLookingForRelationship,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user