Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: always set value
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Sep 10, 2018
1 parent 31528dc commit 128b8a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/model/user-store-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ export class DesignTimeUserStore implements Types.DesignTimeUserStore {

if (!previous) {
this.store.addProperty(prop);
if (typeof value !== 'undefined') {
prop.setPayload(value);
}
}

if (typeof value !== 'undefined') {
prop.setPayload(value);
}

return new DesignTimeProperty(prop);
Expand Down

0 comments on commit 128b8a8

Please sign in to comment.