ciena-frost / ember-frost-navigation

https://ciena-frost.github.io/ember-frost-navigation/
MIT License
7 stars 17 forks source link

Clicking title doesn't close bar if category name is SafeString #217

Open Owlman145 opened 6 years ago

Owlman145 commented 6 years ago

Our category name is a SafeString since it comes from a translation plugin. While I can cast it to raw, I still believe this line: https://github.com/ciena-frost/ember-frost-navigation/blob/478602dbbb0e871371f6b5453e3a55af4a311d52/addon/components/nav-category.js#L59 should accept all types of string not only raw strings (and properly compare them later).