@mixd-id/web-scaffold 0.1.230406177 → 0.1.230406178

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.230406177",
4
+ "version": "0.1.230406178",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -192,15 +192,15 @@ export default{
192
192
  },
193
193
 
194
194
  mediaOf(key, propertyKey){
195
- if(!this.item.props.media[key]){
196
- this.item.props.media[key] = {}
195
+ if(!this.media[key]){
196
+ this.media[key] = {}
197
197
  }
198
198
 
199
- if(!this.item.props.media[key][propertyKey]){
200
- this.item.props.media[key][propertyKey] = {}
199
+ if(!this.media[key][propertyKey]){
200
+ this.media[key][propertyKey] = {}
201
201
  }
202
202
 
203
- return this.item.props.media[key][propertyKey]
203
+ return this.media[key][propertyKey]
204
204
  },
205
205
 
206
206
  resetMedia(){