Skip to content

Commit 65769af

Browse files
committed
fix: removed margin prop from table header
1 parent 27c5a6b commit 65769af

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

projects/dashboards/src/widgets/header/widget-header.model.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,4 @@ export class WidgetHeaderModel {
4949
} as ModelModelPropertyTypeInstance
5050
})
5151
public link?: LinkWidgetModel;
52-
53-
@ModelProperty({
54-
key: 'top-margin',
55-
type: BOOLEAN_PROPERTY.type
56-
})
57-
public topMargin?: boolean = false;
5852
}

projects/distributed-tracing/src/shared/dashboard/widgets/table/table-widget-renderer.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ import { TableWidgetModel } from './table-widget.model';
6969
7070
<ht-table
7171
class="table"
72-
[ngClass]="{ 'header-margin': this.model.header?.topMargin }"
7372
[columnConfigs]="this.columnConfigs$ | async"
7473
[metadata]="this.metadata$ | async"
7574
[mode]="this.model.mode"

projects/observability/src/pages/apis/backend-detail/overview/backend-overview.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ export class BackendOverviewComponent {
452452
style: TableStyle.Embedded,
453453
header: {
454454
type: 'widget-header',
455-
title: 'Services',
456-
'top-margin': true
455+
title: 'Services'
457456
},
458457
pageable: false,
459458
columns: [

0 commit comments

Comments
 (0)