diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.html
index 9971b4e456..7db9a60aa3 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.html
@@ -167,8 +167,8 @@
@case ('done') {
@if (currentMarkdown) {
-
+
} @else {
{{ 'iot-hub.install-success-desc' | translate:{ name: packageInfo?.name } }}
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.ts
index 5df5ba1577..286a861e35 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.ts
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/device-install-dialog/device-install-dialog.component.ts
@@ -89,7 +89,7 @@ export class TbDeviceInstallDialogComponent implements OnInit {
try {
const JSZip = (await import('jszip')).default;
const zip = await JSZip.loadAsync(this.data.zipData);
- for (const [path, entry] of Object.entries(zip.files)) {
+ for (const [path, entry] of Object.entries(zip.files) as [string, any][]) {
if (!entry.dir) {
const content = await entry.async('string');
this.zipFiles.set(path, content);