Skip to content

Commit

Permalink
fix: Editing blackouts empty strings should be nulls (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly authored Dec 5, 2021
1 parent eddd8d2 commit 2c3f1f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/BlackoutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -693,11 +693,11 @@ export default {
customer: this.editedItem.customer,
environment: this.editedItem.environment,
service: this.editedItem.service,
resource: this.editedItem.resource,
event: this.editedItem.event,
group: this.editedItem.group,
resource: this.editedItem.resource ? this.editedItem.resource : null,
event: this.editedItem.event ? this.editedItem.event : null,
group: this.editedItem.group ? this.editedItem.group : null,
tags: this.editedItem.tags,
origin: this.editItem.origin,
origin: this.editedItem.origin ? this.editedItem.origin : null,
startTime: this.toISODate(
this.editedItem.period.startDate,
this.editedItem.period.startTime
Expand Down

0 comments on commit 2c3f1f6

Please sign in to comment.