Skip to content

Commit febb580

Browse files
PR changes
1 parent ae57249 commit febb580

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/applications/iot-devices/iot-devices-table/iot-devices-table.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,8 @@ export class IotDevicesTableComponent implements AfterViewInit, OnInit {
257257
const maxLength = 32;
258258
if (text.length <= maxLength) {
259259
return text;
260-
} else {
261-
return text.substring(0, maxLength) + "...";
262260
}
261+
return text.substring(0, maxLength) + "...";
263262
}
264263

265264
protected readonly columnDefinitions = columnDefinitions;

0 commit comments

Comments
 (0)