Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from kunai-consulting/im-more-uniq
Browse files Browse the repository at this point in the history
Make temp-id more unique
  • Loading branch information
IarikM authored Jul 9, 2021
2 parents e48b40b + ce2a04b commit 366bd5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/mixins/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default Mixin.create({

tempId() {
if (!this._tempId) {
this._tempId = guidFor(this);
this._tempId = `${guidFor(this)}-${+new Date()}`;
}
return this._tempId;
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-data-jsonapi-extensions",
"version": "3.0.1",
"version": "3.0.2",
"description": "The default blueprint for ember-cli addons.",
"keywords": [
"ember-addon"
Expand Down

0 comments on commit 366bd5a

Please sign in to comment.