@acorex/platform 20.9.32 → 20.9.34
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/fesm2022/acorex-platform-contracts.mjs +2 -0
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2 -1
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +58 -30
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +126 -2
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-contracts.d.ts +2 -0
- package/types/acorex-platform-layout-components.d.ts +1 -1
- package/types/acorex-platform-layout-entity.d.ts +13 -1
- package/types/acorex-platform-layout-widgets.d.ts +39 -3
|
@@ -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
|
-
|
|
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('');
|