From db0131294b3eac62b49e066caffe091336f4fd91 Mon Sep 17 00:00:00 2001 From: Joshua Orvis Date: Mon, 15 Jan 2024 22:01:37 -0600 Subject: [PATCH] Added guser.default_org_id to javascript object --- www/js/classes/user.v2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/js/classes/user.v2.js b/www/js/classes/user.v2.js index 3a9409a2..51e6371b 100644 --- a/www/js/classes/user.v2.js +++ b/www/js/classes/user.v2.js @@ -2,7 +2,7 @@ class User { constructor ({id, user_name, email, institution, colorblind_mode, updates_wanted, is_admin, - help_id, date_created, session_id, default_profile_share_id} = {}) { + help_id, date_created, session_id, default_profile_share_id, default_org_id} = {}) { this.id = id; this.user_name = user_name; this.email = email; @@ -14,6 +14,7 @@ class User { this.help_id = help_id; this.date_created = date_created; this.session_id = session_id; + this.default_org_id = default_org_id; // derived this.profile = undefined;