Wrap view stuff in view-models
MikaelElkiaer opened this issue · 0 comments
MikaelElkiaer commented
This will improve readability in the views, if models are wrapped in view-models and properties are provided instead of direct value-checks in the view.
E.g.:
*ngIf='user.pid === host.pid'
should be
*ngIf='userViewModel.isHost'