@@ -488,7 +488,7 @@ async function handleDocumentCreate(
488488 enableNotification : link . enableNotification ,
489489 enableFeedback : link . enableFeedback ,
490490 enableScreenshotProtection : link . enableScreenshotProtection ,
491- showBanner : link . showBanner ,
491+ showBanner : link . showBanner ?? preset ?. showBanner ?? false ,
492492 audienceType : link . audienceType ,
493493 groupId : isGroupAudience ? link . groupId : null ,
494494 // For group links, ignore allow/deny lists from presets as access is controlled by group membership
@@ -700,7 +700,7 @@ async function handleLinkCreate(
700700 enableNotification : link . enableNotification ,
701701 enableFeedback : link . enableFeedback ,
702702 enableScreenshotProtection : link . enableScreenshotProtection ,
703- showBanner : link . showBanner ,
703+ showBanner : link . showBanner ?? preset ?. showBanner ?? false ,
704704 audienceType : link . audienceType ,
705705 groupId : isGroupAudience ? link . groupId : null ,
706706 // For group links, ignore allow/deny lists from presets as access is controlled by group membership
@@ -877,7 +877,7 @@ async function handleDataroomCreate(
877877 enableNotification : link . enableNotification ,
878878 enableFeedback : link . enableFeedback ,
879879 enableScreenshotProtection : link . enableScreenshotProtection ,
880- showBanner : link . showBanner ,
880+ showBanner : link . showBanner ?? preset ?. showBanner ?? false ,
881881 audienceType : link . audienceType ,
882882 groupId : isGroupAudience ? link . groupId : null ,
883883 allowList : link . allowList || preset ?. allowList ,
0 commit comments