mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
do not mount full galaxy when in embed mode
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user