{{#compare selectedId "custom-range-apply-global" }} {{#if fromDate}} {{customFromDate}} - {{customToDate}} {{/if}} {{else}} {{#if fromDate}} {{fromDate}} - {{toDate}} {{/if}} {{/compare}} {{#unless fromDate}}All{{/unless}}