@mixd-id/web-scaffold 0.1.230406118 → 0.1.230406119

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406118",
4
+ "version": "0.1.230406119",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -95,7 +95,9 @@ export default{
95
95
  if(this.state){
96
96
  if(typeof this.state.title === 'object'){
97
97
  if(this.state.title.response || this.state.title.type === 'ValidationError'){
98
- const errors = this.state.title.response.data.errors ?? this.state.title.errors
98
+ const errors = this.state.title.response ?
99
+ this.state.title.response.data.errors :
100
+ this.state.title.errors
99
101
 
100
102
  description = {}
101
103
  for(let key in errors){