From eb04dc20f3ccf780653343c59809eaf4ce6fea39 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Sat, 13 Dec 2025 17:41:17 -0800 Subject: [PATCH] fix: staging badge shown in cloud settings panel (#7444) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fixes issue where settings panel on cloud was showing a "Staging" badge because the badge's logic was being dictated by the buildtime config. Adds the same pattern used everywhere else where, if cloud distribution, use runtime config; otherwise, fallback to buildtime config. Allows cloud to switch between staging and prod at runtime while local switches at buildtime. After fix: image ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7444-fix-staging-badge-shown-in-cloud-settings-panel-2c86d73d36508154a788e8e2a6dd025a) by [Unito](https://www.unito.io) --- .../dialog/header/SettingDialogHeader.vue | 4 +--- src/config/staging.ts | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 src/config/staging.ts diff --git a/src/components/dialog/header/SettingDialogHeader.vue b/src/components/dialog/header/SettingDialogHeader.vue index 66765846f..959cfa14d 100644 --- a/src/components/dialog/header/SettingDialogHeader.vue +++ b/src/components/dialog/header/SettingDialogHeader.vue @@ -15,9 +15,7 @@