-
\ No newline at end of file
+
diff --git a/ui/src/app/core/manage-plugins/bridge-plugins-modal/bridge-plugins-modal.component.ts b/ui/src/app/core/manage-plugins/bridge-plugins-modal/bridge-plugins-modal.component.ts
index e781c4b82..67d44a30e 100644
--- a/ui/src/app/core/manage-plugins/bridge-plugins-modal/bridge-plugins-modal.component.ts
+++ b/ui/src/app/core/manage-plugins/bridge-plugins-modal/bridge-plugins-modal.component.ts
@@ -3,6 +3,7 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { TranslateService } from '@ngx-translate/core';
import { ToastrService } from 'ngx-toastr';
import { ApiService } from '@/app/core/api.service';
+import { ManagePluginsService } from '@/app/core/manage-plugins/manage-plugins.service';
import { NotificationService } from '@/app/core/notification.service';
import { SettingsService } from '@/app/core/settings.service';
@@ -29,6 +30,7 @@ export class BridgePluginsModalComponent implements OnInit {
public $settings: SettingsService,
private $notification: NotificationService,
private $api: ApiService,
+ private $plugins: ManagePluginsService,
private $toastr: ToastrService,
private $translate: TranslateService,
) { }
@@ -107,6 +109,18 @@ export class BridgePluginsModalComponent implements OnInit {
}
}
+ openPluginConfig() {
+ // Close the existing modal
+ this.activeModal.close();
+
+ // Open the plugin config modal
+ this.$plugins.settings({
+ name: this.plugin.name,
+ settingsSchema: true,
+ links: {},
+ });
+ }
+
async restartChildBridge(username: string) {
this.restartInProgress[username] = true;
try {
diff --git a/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.html b/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.html
index 3e266f356..f1dbfc2f0 100644
--- a/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.html
+++ b/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.html
@@ -19,15 +19,6 @@
[translate]="'plugins.manage.message_thanks_for_updating_restart_child_bridges'">
Please restart the plugin's child bridges for the changes to apply.
-