@abi-software/map-utilities 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-utilities",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "files": [
5
5
  "dist/*",
6
6
  "src/*",
@@ -29,7 +29,7 @@
29
29
  "./src/*": "./src/*"
30
30
  },
31
31
  "dependencies": {
32
- "@abi-software/svg-sprite": "^1.0.0",
32
+ "@abi-software/svg-sprite": "^1.0.1",
33
33
  "@element-plus/icons-vue": "^2.3.1",
34
34
  "element-plus": "^2.7.3",
35
35
  "mitt": "^3.0.1",
@@ -329,7 +329,7 @@ export default {
329
329
  },
330
330
  mounted: function () {
331
331
  this.$annotator?.authenticate(this.userApiKey).then((userData) => {
332
- if (userData.name && userData.email) {
332
+ if (userData.name && userData.email && userData.canUpdate) {
333
333
  this.creator = userData;
334
334
  if (!userData.orcid) this.creator.orcid = "0000-0000-0000-0000";
335
335
  this.authenticated = true;