Skip to content

Commit 24ae5e6

Browse files
committed
fixed: change default value
1 parent 04d37e0 commit 24ae5e6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src-tauri/src/commands/url_watcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ pub fn url_watcher(app: AppHandle, name: String, origin: String) {
123123
serde_json::from_str::<Value>(&xpack_message.data)
124124
.ok()
125125
.and_then(|value| value.get("XPACK_LICENSE_IS_VALID").and_then(|v| v.as_bool()))
126-
.unwrap_or(true)
126+
.unwrap_or(false)
127127
} else {
128-
true
128+
false
129129
};
130130

131131
let user_data = user_service.init(profile, license_valid).await;

ui/components/SideBar/profile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ onMounted(async () => {
500500
org: currentOrgData,
501501
system_roles: profileData.system_roles,
502502
availableOrgs,
503-
xpackLicenseValid: xpack_license_valid ?? true,
503+
xpackLicenseValid: xpack_license_valid ?? false,
504504
language,
505505
connectionInfo: {
506506
protocol: "",

0 commit comments

Comments
 (0)