druxt-entity 0.21.0 → 0.21.4
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 +31 -0
- package/dist/components/DruxtEntity.vue +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# druxt-entity
|
|
2
2
|
|
|
3
|
+
## 0.21.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [2ae1d6d]
|
|
8
|
+
- druxt@0.15.0
|
|
9
|
+
- druxt-router@0.24.2
|
|
10
|
+
- druxt-schema@0.9.2
|
|
11
|
+
|
|
12
|
+
## 0.21.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [45bc0b9]
|
|
17
|
+
- druxt@0.14.0
|
|
18
|
+
- druxt-router@0.24.1
|
|
19
|
+
- druxt-schema@0.9.1
|
|
20
|
+
|
|
21
|
+
## 0.21.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [9161b38]
|
|
26
|
+
- druxt-router@0.24.0
|
|
27
|
+
|
|
28
|
+
## 0.21.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- 6ade3a2: Fixed Vuex mutation error
|
|
33
|
+
|
|
3
34
|
## 0.21.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
|
@@ -275,7 +275,7 @@ export default {
|
|
|
275
275
|
if (this.uuid && !this.value) {
|
|
276
276
|
const query = this.getQuery(settings)
|
|
277
277
|
const resource = await this.getResource({ type: this.type, id: this.uuid, query })
|
|
278
|
-
const entity = resource.data || {}
|
|
278
|
+
const entity = { ...(resource.data || {}) }
|
|
279
279
|
entity.included = resource.included
|
|
280
280
|
this.model = JSON.parse(JSON.stringify(entity || {}))
|
|
281
281
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "druxt-entity",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.4",
|
|
4
4
|
"description": "Drupal Display Mode powered Entity, Form and Field Druxt components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"deepmerge": "^4.2.2",
|
|
48
48
|
"drupal-jsonapi-params": "^1.2.2",
|
|
49
|
-
"druxt": "^0.
|
|
50
|
-
"druxt-router": "^0.
|
|
51
|
-
"druxt-schema": "^0.9.
|
|
49
|
+
"druxt": "^0.15.0",
|
|
50
|
+
"druxt-router": "^0.24.2",
|
|
51
|
+
"druxt-schema": "^0.9.2"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|