@acorex/platform 20.9.32 → 20.9.33

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.
@@ -9240,7 +9240,8 @@ class AXPUserAvatarComponent {
9240
9240
  this.title = computed(() => this.resolveDisplayName(this.userInfo()), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
9241
9241
  this.isOnline = computed(() => this.userInfo()?.status === 'online', ...(ngDevMode ? [{ debugName: "isOnline" }] : /* istanbul ignore next */ []));
9242
9242
  effect((onCleanup) => {
9243
- const userId = this.userId()?.trim();
9243
+ // userId may arrive as number from backends; coerce before trim.
9244
+ const userId = String(this.userId() ?? '').trim();
9244
9245
  if (!userId) {
9245
9246
  this.userInfo.set(null);
9246
9247
  this.src.set('');