@isoftdata/svelte-user-configuration 2.3.1 → 2.3.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.
@@ -346,7 +346,7 @@
346
346
  {@render children?.()}
347
347
  </div>
348
348
  <div class="card-footer">
349
- {#if !myAccountMode}
349
+ {#if !myAccountMode && sendPasswordRecoveryToken}
350
350
  <Button
351
351
  size="sm"
352
352
  outline
package/dist/util.d.ts CHANGED
@@ -52,7 +52,7 @@ export type PermissionValueMap = ComponentProps<typeof PermissionList>['permissi
52
52
  export type GroupPermissionValueMap = ComponentProps<typeof PermissionList>['groupPermissionValueMap'];
53
53
  export type PermissionValueChangeFn = ComponentProps<typeof PermissionList>['permissionValueChange'];
54
54
  export type PermissionListCardHeaderTitle = ComponentProps<typeof PermissionList>['cardHeaderTitle'];
55
- /** Returns a Map where the key is the `permissioniId` and the value is the highest permission level for the given group membership
55
+ /** Returns a Map where the key is the `permissionId` and the value is the highest permission level for the given group membership
56
56
  *
57
57
  * You'll probably want to call this in your code when the group membership changes, and pass the result to the `groupPermissionValueMap` prop of the `PermissionList` component.
58
58
  */
package/dist/util.js CHANGED
@@ -9,7 +9,7 @@ export const valueRank = {
9
9
  SITE: 1,
10
10
  GLOBAL: 2,
11
11
  };
12
- /** Returns a Map where the key is the `permissioniId` and the value is the highest permission level for the given group membership
12
+ /** Returns a Map where the key is the `permissionId` and the value is the highest permission level for the given group membership
13
13
  *
14
14
  * You'll probably want to call this in your code when the group membership changes, and pass the result to the `groupPermissionValueMap` prop of the `PermissionList` component.
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isoftdata/svelte-user-configuration",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",