temp empty state

This commit is contained in:
Mads Rasmussen
2024-03-22 13:20:41 +01:00
parent 152cbc0d69
commit 5ee11a6163

View File

@@ -117,6 +117,20 @@ export class UmbRelationTypeDetailWorkspaceViewElement extends UmbLitElement imp
];
private get _tableItems(): UmbTableItem[] {
if (this._relations.length === 0) {
return [
{
id: 'no-relations',
data: [
{
columnAlias: 'parent',
value: 'No relations found',
},
],
},
];
}
return this._relations.map((relation) => {
return {
id: relation.unique,