We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6056f commit edea576Copy full SHA for edea576
front-end/h5/src/components/core/models/page.js
@@ -3,7 +3,7 @@ import LbpBackground from '../../plugins/lbp-background'
3
4
class Page {
5
constructor (page = {}) {
6
- this.uuid = +new Date()
+ this.uuid = page.uuid || +new Date()
7
this.title = page.title || ''
8
this.elements = page.elements || [new Element(LbpBackground)]
9
}
0 commit comments