diff --git a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.html b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.html index 71e9e392..ef18c3e6 100644 --- a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.html +++ b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.html @@ -99,7 +99,7 @@

{{ "IOTDEVICE.CHANGE-APPLICATION.TITLE" | translate }}

-
+
diff --git a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.scss b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.scss index 87e01a74..a628c840 100644 --- a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.scss +++ b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.scss @@ -1,3 +1,8 @@ .iot-device-change-application-dialog { width: 50vw; } + +.mat-dialog-actions { + margin-left: 13px; + margin-bottom: 13px; +} diff --git a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.ts b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.ts index 54e62d2b..bb8c324c 100644 --- a/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.ts +++ b/src/app/applications/iot-devices/iot-device-change-application-dialog/iot-device-change-application-dialog.component.ts @@ -192,12 +192,13 @@ export class IoTDeviceChangeApplicationDialogComponent implements OnInit { deviceName: savedIoTDevice.name, applicationName: savedIoTDevice.application.name, }), - "", + this.translate.instant("DIALOG.OK"), { duration: 10000, } ); this.dialog.close(true); + this.snackBar._openedSnackBarRef.afterDismissed().subscribe(() => location.reload()); }); } }