Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/embed/ts-embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export class TsEmbed {
const isDisabled = (
this.viewConfig.overrideOrgId !== undefined
|| this.embedConfig.disablePreauthCache === true
|| this.isFullAppEmbedWithVisiblePrimaryNavbar()
// || this.isFullAppEmbedWithVisiblePrimaryNavbar()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Commenting out code is generally discouraged as it can lead to confusion and code rot. If this condition is no longer necessary, it should be removed completely rather than commented out. Also, please consider removing the related comment block on lines 267-269 which now becomes stale. This change also seems to break existing unit tests.

);
return !isDisabled;
}
Expand Down
Loading