From 90fd2f1447e6a5a9fde8088d934eecc57f59f069 Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Thu, 28 Aug 2025 12:27:12 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20bug=20that=20preven?= =?UTF-8?q?ts=20setting=20cluster=20URL=20(#2975)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17579 --- ui/desktop/electron-app/src/models/runtime-settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/desktop/electron-app/src/models/runtime-settings.js b/ui/desktop/electron-app/src/models/runtime-settings.js index 59addf25d..c161f35f7 100644 --- a/ui/desktop/electron-app/src/models/runtime-settings.js +++ b/ui/desktop/electron-app/src/models/runtime-settings.js @@ -51,8 +51,8 @@ class RuntimeSettings { /** * Sets the clusterUrl to null. */ - resetClusterUrl() { - this.clusterUrl = null; + async resetClusterUrl() { + await this.setClusterUrl(null); } // Quick and dirty event handler pattern to enable the application to respond