Skip to content

Commit bbd3204

Browse files
committed
style(signature-footer): remove redundant comment in resolveEditorProps
Signed-off-by: Vitor Mattos <[email protected]>
1 parent dbeeb36 commit bbd3204

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/views/Settings/PolicyWorkbench/settings/signature-footer/realDefinition.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ export const signatureFooterRealDefinition: RealPolicySettingDefinition = {
2929
const policyWithInherited = policy as (EffectivePolicyState & { inheritedValue?: EffectivePolicyValue }) | null
3030
if (policyWithInherited && Object.prototype.hasOwnProperty.call(policyWithInherited, 'inheritedValue')) {
3131
const normalizedInherited = normalizeSignatureFooterPolicyConfig(policyWithInherited.inheritedValue ?? null)
32-
// Only override the base inheritedTemplate when the inherited policy level provides a non-empty
33-
// custom footer template. Otherwise fall back to the base (which carries the system-level
34-
// footer_template from loadState) so the user always sees the real default instead of blank.
3532
const resolvedTemplate = normalizedInherited.footerTemplate.trim() !== ''
3633
? normalizedInherited.footerTemplate
3734
: (baseEditorProps.inheritedTemplate as string | undefined) ?? ''

0 commit comments

Comments
 (0)