@mixd-id/web-scaffold 0.1.230406353 → 0.1.230406355
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
|
@@ -1189,10 +1189,14 @@ export default{
|
|
|
1189
1189
|
const views = this.recurseViews(this.viewedComponents, uids)
|
|
1190
1190
|
if(views?.length < 1) return
|
|
1191
1191
|
|
|
1192
|
-
const { datasource } = this.viewedPreset
|
|
1192
|
+
const { name, datasource } = this.viewedPreset
|
|
1193
1193
|
|
|
1194
1194
|
if(!uids) this.readyState = 0
|
|
1195
|
-
this.socket.send(this.src, {
|
|
1195
|
+
this.socket.send(this.src, {
|
|
1196
|
+
name,
|
|
1197
|
+
views,
|
|
1198
|
+
datasource
|
|
1199
|
+
})
|
|
1196
1200
|
.then(_ => {
|
|
1197
1201
|
Object.assign(this.values, _)
|
|
1198
1202
|
})
|
|
@@ -1404,7 +1408,6 @@ export default{
|
|
|
1404
1408
|
},
|
|
1405
1409
|
|
|
1406
1410
|
cConfig(to, from){
|
|
1407
|
-
console.log('cConfig', from)
|
|
1408
1411
|
if(!from){
|
|
1409
1412
|
this.load()
|
|
1410
1413
|
this.initialConfig = JSON.stringify(this.cConfig)
|
|
@@ -1414,7 +1417,9 @@ export default{
|
|
|
1414
1417
|
selectedPreset:{
|
|
1415
1418
|
deep: true,
|
|
1416
1419
|
handler(to) {
|
|
1417
|
-
|
|
1420
|
+
if(to){
|
|
1421
|
+
this.savePreset()
|
|
1422
|
+
}
|
|
1418
1423
|
}
|
|
1419
1424
|
}
|
|
1420
1425
|
|