File

default-subscriptions/default-subscriptions.guard.ts

Index

Methods

Constructor

constructor(tenantUiService: TenantUiService)
Parameters :
Name Type Optional
tenantUiService TenantUiService No

Methods

Async canActivate
canActivate()

Checks if default subscriptions feature should be active, i.e. whether the current tenant is the management or an enterprise tenant. Note: the check is executed only once in the runtime.

Returns : Promise<boolean>

True, if the feature should be active.

results matching ""

    No results matching ""