do not mount full galaxy when in embed mode

This commit is contained in:
Laila Los
2024-01-18 16:35:11 +01:00
parent 064360dab0
commit cf0e14132e
+8 -6
View File
@@ -170,12 +170,14 @@ export default {
},
},
mounted() {
this.Galaxy = getGalaxyInstance();
this.Galaxy.currHistoryPanel = new HistoryPanelProxy();
this.Galaxy.modal = new Modal.View();
this.Galaxy.frame = this.windowManager;
if (this.Galaxy.config.enable_notification_system) {
this.startNotificationsPolling();
if (!this.embedded) {
this.Galaxy = getGalaxyInstance();
this.Galaxy.currHistoryPanel = new HistoryPanelProxy();
this.Galaxy.modal = new Modal.View();
this.Galaxy.frame = this.windowManager;
if (this.Galaxy.config.enable_notification_system) {
this.startNotificationsPolling();
}
}
},
created() {