From cf0e14132e66d676100d9b2c69e847d2af17de42 Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:15:22 +0100 Subject: [PATCH 1/2] do not mount full galaxy when in embed mode --- client/src/entry/analysis/App.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/client/src/entry/analysis/App.vue b/client/src/entry/analysis/App.vue index 927ac0578c8..4a1dc4cd593 100644 --- a/client/src/entry/analysis/App.vue +++ b/client/src/entry/analysis/App.vue @@ -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() { From 95ad2ed3f3cbbe64d48f27472a8bf3040fcb38df Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:27:10 +0100 Subject: [PATCH 2/2] do not mount helper components in embed mode --- client/src/entry/analysis/App.vue | 103 +++++++++++++++--------------- 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/client/src/entry/analysis/App.vue b/client/src/entry/analysis/App.vue index 4a1dc4cd593..f9a04516a80 100644 --- a/client/src/entry/analysis/App.vue +++ b/client/src/entry/analysis/App.vue @@ -2,44 +2,49 @@
- - - - - - - - - {{ config.inactivity_box_content }} - - Resend Verification - - + +
-
- - - - - +