Thanks for installing the latest version of {{ pluginName }}.
-
- Please restart Homebridge for the changes to apply. Alternatively, if you have this plugin running in child
- bridges, you can close this modal and restart these instead.
+
+ Please restart Homebridge for the changes to apply. Alternatively, if you have this plugin running in child bridges, you can close this modal and restart these instead.
-
-
@@ -66,4 +55,4 @@
{{ release.name }}
-
\ No newline at end of file
+
diff --git a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.ts b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.ts
index eb9b9012e..2079df874 100644
--- a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.ts
+++ b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.ts
@@ -32,7 +32,6 @@ export class ManagePluginsModalComponent implements OnInit, OnDestroy {
public showReleaseNotes = false;
public justUpdatedPlugin = false;
public updateToBeta = false;
- public restartInProgress: Record = {};
public changeLog: string;
public release;
@@ -46,7 +45,6 @@ export class ManagePluginsModalComponent implements OnInit, OnDestroy {
public activeModal: NgbActiveModal,
public $toastr: ToastrService,
private translate: TranslateService,
- private $translate: TranslateService,
private $settings: SettingsService,
private $api: ApiService,
private $ws: WsService,
@@ -180,27 +178,6 @@ export class ManagePluginsModalComponent implements OnInit, OnDestroy {
);
}
- async restartChildBridge(username: string) {
- this.restartInProgress[username] = true;
- try {
- await this.$api.put(`/server/restart/${username.replace(/:/g, '')}`, {}).toPromise();
- this.$toastr.success(
- this.$translate.instant('child_bridge.toast_restart_requested'),
- this.$translate.instant('toast.title_success'),
- );
- } catch (err) {
- this.$toastr.error(
- 'Failed to restart bridge: ' + err.error?.message,
- this.$translate.instant('toast.title_error'),
- );
- this.restartInProgress[username] = false;
- } finally {
- setTimeout(() => {
- this.restartInProgress[username] = false;
- }, 12000);
- }
- }
-
upgradeHomebridge() {
this.io.request('homebridge-update', {
version: this.targetVersion,