Skip to content

Commit

Permalink
🐛 (slope) error out when start and end time are the same
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Nov 22, 2024
1 parent b744239 commit 1f645df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export class SlopeChart
@computed get failMessage() {
const message = getDefaultFailMessage(this.manager)
if (message) return message
else if (this.startTime === this.endTime) return "No matching data"
else if (isEmpty(this.series)) return "No matching data"
return ""
}
Expand Down

0 comments on commit 1f645df

Please sign in to comment.