feat: make feature flag image optional (#17679)

Prevent layout shift when no image is provided for a feature flag

## Before


https://github.com/user-attachments/assets/b1a98da9-1208-46f7-9fc6-9c34a9012c02

## After 


https://github.com/user-attachments/assets/ed12df0c-1651-4fc9-a0e7-60f5fb1533a4
This commit is contained in:
Baptiste Devessier
2026-02-03 17:03:37 +00:00
committed by GitHub
parent 3db961c038
commit ccd40e7633
4 changed files with 5 additions and 6 deletions
@@ -108,8 +108,8 @@ export class PublicFeatureFlagMetadata {
@Field(() => String)
description: string;
@Field(() => String, { nullable: false, defaultValue: '' })
imagePath: string;
@Field(() => String, { nullable: true })
imagePath?: string;
}
@ObjectType()