diff --git a/src/aind_qc_portal/panel/metric.py b/src/aind_qc_portal/panel/metric.py index fc0886c..4e287bd 100644 --- a/src/aind_qc_portal/panel/metric.py +++ b/src/aind_qc_portal/panel/metric.py @@ -60,7 +60,7 @@ def _set_status(self, status: Status | str): status : Status or str """ if pn.state.user == 'guest': - self.hidden_html.object = "" + self.hidden_html.object = f"" return if not isinstance(status, Status): diff --git a/src/aind_qc_portal/panel/quality_control.py b/src/aind_qc_portal/panel/quality_control.py index fcb8f63..da96295 100644 --- a/src/aind_qc_portal/panel/quality_control.py +++ b/src/aind_qc_portal/panel/quality_control.py @@ -93,7 +93,7 @@ def submit_changes(self, *event): # redirect users to login if pn.state.user == 'guest': - self.hidden_html.object = "" + self.hidden_html.object = f"" return qc_update_to_id(self.id, self.data)