Skip to content

Commit 8086602

Browse files
4manasamanasa
andauthored
reverted the label change (#324)
Co-authored-by: manasa <[email protected]>
1 parent ec1ecfe commit 8086602

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/angular-sdk-components/src/lib/_components/template/simple-table-manual/simple-table-manual.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,15 +1002,11 @@ export class SimpleTableManualComponent implements OnInit, OnDestroy {
10021002
const data: any = [];
10031003
this.rawFields?.forEach(item => {
10041004
if (!item?.config?.hide) {
1005-
let label = '';
1006-
if (!this.readOnlyMode) {
1007-
label = item.config.readOnly ? '' : item.config.label;
1008-
}
10091005
item = {
10101006
...item,
10111007
config: {
10121008
...item.config,
1013-
label,
1009+
label: '',
10141010
displayMode: this.readOnlyMode || this.allowEditingInModal ? 'DISPLAY_ONLY' : undefined
10151011
}
10161012
};

0 commit comments

Comments
 (0)