docbrown/app/assets
Daniel Uber dc35f8ed24
Remove optional chaining syntax from comments page initializer (#15277)
* Remove questionable syntax from comments initializer

Not sure what ?. is, changing to . to placate the asset precompiler

* Restore conditional access

Rather than changing the ?. to ., wrap the chained access in a guard
clause.

* Fix error in logic

First pass had wrapped this in an "if currentUser" which caused the
else block only to hide comments when no user was logged in, however
the actual behavior should have been to hide comments unless current
user was an article author.
2021-11-03 12:04:28 -05:00
..
config Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
fonts feat: add per-user Open Dyslexic font setting (#5037) [deploy] 2020-01-20 18:23:57 -05:00
images Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
javascripts Remove optional chaining syntax from comments page initializer (#15277) 2021-11-03 12:04:28 -05:00
stylesheets CSS cleanups (#15198) 2021-11-02 09:29:57 +01:00