@cocreate/users 1.5.1 → 1.5.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.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/client.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.5.2](https://github.com/CoCreate-app/CoCreate-users/compare/v1.5.1...v1.5.2) (2022-05-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* removed localstorage.setItem for admin_ui and builder_ui ([350f289](https://github.com/CoCreate-app/CoCreate-users/commit/350f289f731bf21f535d892b276708044eb662a3))
|
|
7
|
+
* user permission typo contained duplicate delete switch case. renamed one to update ([66f6fc7](https://github.com/CoCreate-app/CoCreate-users/commit/66f6fc72ce3b60facaaa41112246de22358062dd))
|
|
8
|
+
|
|
1
9
|
## [1.5.1](https://github.com/CoCreate-app/CoCreate-users/compare/v1.5.0...v1.5.1) (2022-03-06)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -120,8 +120,8 @@ const CoCreateUser = {
|
|
|
120
120
|
window.localStorage.setItem('organization_id', data['current_org']);
|
|
121
121
|
window.localStorage.setItem('host', window.config.host);
|
|
122
122
|
|
|
123
|
-
window.localStorage.setItem('adminUI_id', data['adminUI_id']);
|
|
124
|
-
window.localStorage.setItem('builderUI_id', data['builderUI_id']);
|
|
123
|
+
// window.localStorage.setItem('adminUI_id', data['adminUI_id']);
|
|
124
|
+
// window.localStorage.setItem('builderUI_id', data['builderUI_id']);
|
|
125
125
|
|
|
126
126
|
document.dispatchEvent(new CustomEvent('logIn'));
|
|
127
127
|
},
|
|
@@ -214,7 +214,7 @@ const CoCreateUser = {
|
|
|
214
214
|
case 'read':
|
|
215
215
|
tag.style.display = 'none';
|
|
216
216
|
break;
|
|
217
|
-
case '
|
|
217
|
+
case 'update':
|
|
218
218
|
tag.style.display = 'none';
|
|
219
219
|
break;
|
|
220
220
|
case 'delete':
|