```coffeescript
Vosae.TenantsShowView = Vosae.PageTenantView.extend
  classNames: ["outlet-tenants", "page-show-tenants"]

  didInsertElement: ->
    @_super()

    # If user already selected or tenant or has only one tenant
    # he will be automaticaly redirected to the tenant's dashboard
    preselectedTenant = @get 'controller.session.preselectedTenant'
    tenantsLength = Vosae.Tenant.all().get('length')
    if not preselectedTenant and tenantsLength != 1
      @get('controller.namespace').hideLoader()```

Fix a bug which prevent to see tenants because of the loader
user
```coffeescript
Vosae.TenantsShowView = Vosae.PageTenantView.extend
  classNames: ["outlet-tenants", "page-show-tenants"]

  ###
    If user already selected or tenant or has only one tenant
    he will be automaticaly redirected to the tenant's dashboard,
    otherwise we hide the loader.
  ###
  checkTenants: (->
    preselectedTenant = @get 'controller.session.preselectedTenant'
    tenantsLength = Vosae.Tenant.all().get('length')
    if not preselectedTenant and tenantsLength != 1
      Vosae.Utilities.hideLoader()
  ).on "didInsertElement"
```
assistant