@xh/hoist 77.0.0-SNAPSHOT.1760194879110 → 77.0.0-SNAPSHOT.1760466580390

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.
@@ -73,7 +73,7 @@ export class ImpersonationBarModel extends HoistModel {
73
73
  try {
74
74
  await XH.identityService.impersonateAsync(pendingTarget);
75
75
  } catch (e) {
76
- this.pendingTarget = '';
76
+ this.pendingTarget = null;
77
77
  XH.handleException(e, {logOnServer: false}); // likely to be an unknown user
78
78
  }
79
79
  };
@@ -54,6 +54,7 @@ export const impersonationBar = hoistCmp.factory({
54
54
  options: targets,
55
55
  enableCreate: true,
56
56
  placeholder: 'Select User...',
57
+ createMessageFn: q => `Impersonate new user "${q}"`,
57
58
  width: 250,
58
59
  menuWidth: 300,
59
60
  onCommit: model.onCommit
@@ -36,7 +36,7 @@ export const impersonationBar = hoistCmp.factory({
36
36
  enableFilter: true,
37
37
  enableFullscreen: true,
38
38
  placeholder: 'Select a user to impersonate...',
39
- createMessageFn: q => `Impersonate ${q}`,
39
+ createMessageFn: q => `Impersonate new user "${q}"`,
40
40
  onCommit: model.onCommit
41
41
  }),
42
42
  button({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "77.0.0-SNAPSHOT.1760194879110",
3
+ "version": "77.0.0-SNAPSHOT.1760466580390",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",