Tab Name mustache fails in Brooklyn 9.3

  • 2
  • Problem
  • Updated 2 years ago
  • Solved
  • (Edited)


From this.

Bill{{#$Model.ARDetail.data.0.isServiceOrder__c}}able{{/$Model.ARDetail.data.0.isServiceOrder__c}}{{#$Model.ARDetail.data.0.isInvoice__c}}ed{{/$Model.ARDetail.data.0.isInvoice__c}} ({{$Model.LI_BillableEvents.data.length}} + {{$Model.LI_BillableWork.data.length}}}

Used to display Billable or Billed without the icon.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb

Posted 2 years ago

  • 2
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,030 Points 10k badge 2x thumb
Hello Pat,

I'm not sure if this code was directly taken from your environment, but could it be that the very last closed-mustache should be a closed-parentheses? 

Mark
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Nope. Brooklyn is doing some weird stuff here. :/

Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,030 Points 10k badge 2x thumb
Hello Pat, thank you for taking the time to demonstrate this. I've just tested this, and the checkboxes do appear as you're showing in this video if I use double-mustaches to enclose each of my truthy/falsy fields. However, if I use triple-mustaches instead, the checkboxes are not rendered. Can you try that change and let me know if you're able to get the intended behavior? 

Mark
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb
Yup. That worked. Why has this changed?