Skip to content

Commit da34720

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

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/views/Settings/PolicyWorkbench/settings/signature-footer/SignatureFooterRuleEditor.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ function onCustomizeFooterTemplateChange(customizeFooterTemplate: boolean) {
271271
return
272272
}
273273
274-
// When enabling customization, seed the template with the inherited default so the
275-
// saved value is concrete and not dependent on future inherited-template resolution.
276274
const seedTemplate = value.value.footerTemplate || (props.inheritedTemplate ?? '')
277275
updateValue({ customizeFooterTemplate, footerTemplate: seedTemplate })
278276
}
@@ -290,9 +288,6 @@ function onTemplateReset(event?: Event) {
290288
event?.stopPropagation()
291289
event?.preventDefault()
292290
293-
// Reset to the concrete inherited template so the saved value is explicit and
294-
// independent of future inherited-template resolution. Using '' (empty) as a
295-
// sentinel would break when the inheritedTemplate changes between page loads.
296291
updateValue({
297292
customizeFooterTemplate: true,
298293
footerTemplate: props.inheritedTemplate ?? '',

0 commit comments

Comments
 (0)