clay-server 2.24.3-beta.1 → 2.24.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/project.js +1 -0
- package/lib/public/app.js +8 -0
- package/lib/public/css/sidebar.css +1 -1
- package/package.json +1 -1
package/lib/project.js
CHANGED
|
@@ -429,6 +429,7 @@ function createProjectContext(opts) {
|
|
|
429
429
|
var _projModel = typeof opts.onGetProjectDefaultModel === "function" ? opts.onGetProjectDefaultModel(slug) : null;
|
|
430
430
|
var _srvModel = typeof opts.onGetServerDefaultModel === "function" ? opts.onGetServerDefaultModel() : null;
|
|
431
431
|
sm._savedDefaultModel = (_projModel && _projModel.model) || (_srvModel && _srvModel.model) || null;
|
|
432
|
+
if (sm._savedDefaultModel) sm.currentModel = sm._savedDefaultModel;
|
|
432
433
|
|
|
433
434
|
// --- SDK bridge ---
|
|
434
435
|
var sdk = createSDKBridge({
|
package/lib/public/app.js
CHANGED
|
@@ -5609,6 +5609,14 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
|
|
|
5609
5609
|
if (d.user && d.user.id) myUserId = d.user.id;
|
|
5610
5610
|
if (d.permissions) myPermissions = d.permissions;
|
|
5611
5611
|
if (d.mustChangePin) showForceChangePinOverlay();
|
|
5612
|
+
// Single-user mode: clear user strip skeletons immediately (no presence message will arrive)
|
|
5613
|
+
if (!isMultiUserMode) {
|
|
5614
|
+
var usersContainer = document.getElementById("icon-strip-users");
|
|
5615
|
+
if (usersContainer) {
|
|
5616
|
+
usersContainer.innerHTML = "";
|
|
5617
|
+
usersContainer.classList.add("hidden");
|
|
5618
|
+
}
|
|
5619
|
+
}
|
|
5612
5620
|
initCursorToggle();
|
|
5613
5621
|
// Apply RBAC UI gating
|
|
5614
5622
|
if (myPermissions) {
|