Add alvinn mini settings
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -31,14 +31,17 @@
|
||||
abdomenDetails: { "version": "Model not available" },
|
||||
limbsDetails: { "version": "Model not available" },
|
||||
headneckDetails: { "version": "Model not available" },
|
||||
alvinnVersion: store().getVersion
|
||||
alvinnVersion: store().getVersion,
|
||||
otherSettings: {}
|
||||
}
|
||||
},
|
||||
setup() {
|
||||
return store()
|
||||
},
|
||||
created () {
|
||||
import('../models/thorax/descript.json')
|
||||
var loadOtherSettings = localStorage.getItem('otherSettings')
|
||||
if (loadOtherSettings) this.otherSettings = JSON.parse(loadOtherSettings)
|
||||
import(`../models/thorax${this.otherSettings.mini ? '-mini' : ''}/descript.json`)
|
||||
.then((mod) => {
|
||||
this.thoraxDetails = mod.default
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user