From ee68287e501e3999d3e75dd963aaf3f8e6f3cc17 Mon Sep 17 00:00:00 2001 From: julialawrence Date: Mon, 23 Oct 2023 14:26:13 +0100 Subject: [PATCH] I think it's dying on popup. --- app/app.py | 2 +- app/templates/data_source_details.html | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app/app.py b/app/app.py index 5832317..b41705f 100644 --- a/app/app.py +++ b/app/app.py @@ -438,7 +438,7 @@ def start_vscode(id): # Redirect to a waiting page or directly embed the VS Code interface if it's ready # The implementation of this part can vary based on how you handle the VS Code UI embedding # return render_template("vscode.html") - vscode_url = url_for('vscode_proxy', _external=True) + vscode_url = url_for('vscode_proxy') return redirect(vscode_url) diff --git a/app/templates/data_source_details.html b/app/templates/data_source_details.html index 5c915da..d04c73c 100644 --- a/app/templates/data_source_details.html +++ b/app/templates/data_source_details.html @@ -4,6 +4,7 @@ Data Source Details + @@ -41,11 +42,20 @@

Assigned Users:

{% if is_admin or user_has_access %} -
- -
+ {% endif %} + + Back to Data Sources List