update component preview on render

This commit is contained in:
Henry Jameson 2025-07-02 16:18:07 +03:00
commit 5a6a77bd75

View file

@ -27,6 +27,9 @@ export default {
randomSeed: genRandomSeed() randomSeed: genRandomSeed()
} }
}, },
mounted () {
this.update()
},
computed: { computed: {
hideControls () { hideControls () {
return typeof this.shadow === 'string' return typeof this.shadow === 'string'