Skip to content

Commit

Permalink
Merge pull request #1110 from J9rem/fix/does-not-use-crypto-ramdomuui…
Browse files Browse the repository at this point in the history
…d-if-not-needed

fix(DynTable): does not use crypto.randomUUID
  • Loading branch information
mrflos authored Oct 19, 2023
2 parents fad552c + 26b8d09 commit 9c32fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ let componentParams = {
},
getUuid(){
if (this.uuid === null){
this.uuid = crypto.randomUUID()
this.uuid = Date.now() + '-' + Math.round(Math.random()*10000)
}
return this.uuid
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default {
},
getUuid(){
if (this.uuid === null){
return crypto.randomUUID()
return Date.now() + '-' + Math.round(Math.random()*10000)
}
return this.uuid
},
Expand Down

0 comments on commit 9c32fe2

Please sign in to comment.