@sprucelabs/spruce-profile-utils 1.0.9 → 1.1.0

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.
@@ -48,8 +48,7 @@ class RoleSelectCardViewController extends heartwood_view_controllers_1.Abstract
48
48
  for (const profileRole of roles) {
49
49
  const match = records.find((r) => r.id === profileRole.roleId);
50
50
  if (match) {
51
- const listVc = this.activeRecordCardVc.getListVc();
52
- const rowVc = listVc.getRowVc(match.id);
51
+ const rowVc = this.activeRecordCardVc.getRowVc(match.id);
53
52
  await rowVc.setValue('requirements', this.getRequirementsForRole(match.id));
54
53
  }
55
54
  }
@@ -56,8 +56,7 @@ export default class RoleSelectCardViewController extends AbstractViewController
56
56
  for (const profileRole of roles) {
57
57
  const match = records.find((r) => r.id === profileRole.roleId);
58
58
  if (match) {
59
- const listVc = this.activeRecordCardVc.getListVc();
60
- const rowVc = listVc.getRowVc(match.id);
59
+ const rowVc = this.activeRecordCardVc.getRowVc(match.id);
61
60
  yield rowVc.setValue('requirements', this.getRequirementsForRole(match.id));
62
61
  }
63
62
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-profile-utils",
3
3
  "description": "Useeful utilities",
4
- "version": "1.0.9",
4
+ "version": "1.1.0",
5
5
  "skill": {
6
6
  "namespace": "profile"
7
7
  },