@nymphjs/tilmeld-setup 1.0.0-beta.40 → 1.0.0-beta.42
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/CHANGELOG.md +11 -0
- package/app/src/routes/GroupEdit.svelte +5 -4
- package/app/src/routes/UserEdit.svelte +3 -2
- package/dist/app/index.js +1 -1
- package/dist/app/index.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nymphjs/tilmeld-setup
|
|
9
|
+
|
|
10
|
+
# [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- remove synchronous database queries ([b579fb2](https://github.com/sciactive/nymphjs/commit/b579fb2eacd96cdd1b386a62c5c00cdbb2438f6e))
|
|
15
|
+
- rewrite server side async api to match client side api ([9c537a8](https://github.com/sciactive/nymphjs/commit/9c537a8be49e9b989af0822a4c2236e8c2d20f87))
|
|
16
|
+
|
|
6
17
|
# [1.0.0-beta.40](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2023-07-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @nymphjs/tilmeld-setup
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
{#if entity.user}
|
|
20
|
-
{#await entity.user.$
|
|
20
|
+
{#await entity.user.$wake() then _user}
|
|
21
21
|
<div style="padding: 12px;" class="mdc-typography--subtitle1">
|
|
22
22
|
Generated primary group for <a
|
|
23
23
|
href="#/users/edit/{encodeURIComponent(entity.user.guid || '')}"
|
|
@@ -440,7 +440,8 @@
|
|
|
440
440
|
entity.unverifiedSecondary = false;
|
|
441
441
|
}
|
|
442
442
|
avatar = await entity.$getAvatar();
|
|
443
|
-
await entity.$
|
|
443
|
+
await entity.$wakeAll(1);
|
|
444
|
+
entity = entity;
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
let parentsSearching = false;
|
|
@@ -558,11 +559,11 @@
|
|
|
558
559
|
const newEntity = entity.guid == null;
|
|
559
560
|
try {
|
|
560
561
|
if (await entity.$save()) {
|
|
562
|
+
await readyEntity();
|
|
561
563
|
success = true;
|
|
562
564
|
if (newEntity) {
|
|
563
|
-
replace(`/
|
|
565
|
+
replace(`/groups/edit/${encodeURIComponent(entity.guid || '')}`);
|
|
564
566
|
}
|
|
565
|
-
await readyEntity();
|
|
566
567
|
setTimeout(() => {
|
|
567
568
|
success = undefined;
|
|
568
569
|
}, 1000);
|
|
@@ -816,7 +816,8 @@
|
|
|
816
816
|
entity.revokeTokenDate = 0;
|
|
817
817
|
}
|
|
818
818
|
avatar = await entity.$getAvatar();
|
|
819
|
-
await entity.$
|
|
819
|
+
await entity.$wakeAll(1);
|
|
820
|
+
entity = entity;
|
|
820
821
|
}
|
|
821
822
|
|
|
822
823
|
let primaryGroupsSearching = false;
|
|
@@ -1001,12 +1002,12 @@
|
|
|
1001
1002
|
const newEntity = entity.guid == null;
|
|
1002
1003
|
try {
|
|
1003
1004
|
if (await entity.$save()) {
|
|
1005
|
+
await readyEntity();
|
|
1004
1006
|
success = true;
|
|
1005
1007
|
passwordVerify = '';
|
|
1006
1008
|
if (newEntity) {
|
|
1007
1009
|
replace(`/users/edit/${encodeURIComponent(entity.guid || '')}`);
|
|
1008
1010
|
}
|
|
1009
|
-
await readyEntity();
|
|
1010
1011
|
setTimeout(() => {
|
|
1011
1012
|
success = undefined;
|
|
1012
1013
|
}, 1000);
|