From fb9d80b4564174f03403f50308e087735bca886f Mon Sep 17 00:00:00 2001 From: Joseph Kotanchik Date: Thu, 14 Sep 2023 16:34:06 -0400 Subject: [PATCH] Remove timeout from import measure dialog. With the removal of the TGT, VSAC Creds no longer expire. --- app/assets/javascripts/views/import_measure_view.js.coffee | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/assets/javascripts/views/import_measure_view.js.coffee b/app/assets/javascripts/views/import_measure_view.js.coffee index 109d52e81..e90d7906b 100644 --- a/app/assets/javascripts/views/import_measure_view.js.coffee +++ b/app/assets/javascripts/views/import_measure_view.js.coffee @@ -72,11 +72,6 @@ class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView $('#vsac-query-settings').removeClass('hidden') $('#vsacCachedMsg').removeClass('hidden') $('#loadButton').prop('disabled', false) - # If the measure import window is open long enough for the VSAC - # credentials to expire, we need to reshow the vsacApiKey dialog. - setTimeout -> - @clearCachedVSACTicket() - , new Date(data.expires) - new Date() else $('#vsacSignIn').removeClass('hidden') $('#vsac-query-settings').removeClass('hidden')