core/common/empty-state/empty-state-context.directive.ts
Injects data statistics object of type DataSourceStats into your template
so that you can adjust your empty state messages according to them.
Works only within the c8y-data-grid component.
<c8y-data-grid [...]>
<c8y-ui-empty-state
*emptyStateContext="let stats"
[title]="
stats?.size > 0
? (noMatchingDevices | translate)
: (noDevicesToDisplay | translate)
"
[...]
></c8y-ui-empty-state>
[...]
</c8y-data-grid>
| Selector | [emptyStateContext] |
| Standalone | true |
CommonModule
ApplicationPluginsComponent
ConfigurationListComponent
DeviceGridComponent
DeviceProfileListComponent
FilesRepositoryComponent
FirmwareListComponent
ServicesDeviceTabComponent
SoftwareListComponent
SubAssetsGridComponent
TenantListComponent
TopicListViewComponent
TopicSubscribersViewComponent
No results matching.