Skip to content

Commit

Permalink
Make time graph state label optional
Browse files Browse the repository at this point in the history
Not all time graph states have a label. Make the variable optional
instead of requiring users to put an empty string.

Change-Id: I980917cfb0d6c761e78905bc5bfef5ee3480da86
Signed-off-by: Patrick Tasse <patrick.tasse@ericsson.com>
  • Loading branch information
PatrickTasse committed Oct 13, 2021
1 parent 5133cfb commit ed2f8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeline-chart/src/time-graph-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace TimelineChart {
export interface TimeGraphState {
readonly id: string
readonly range: TimeGraphRange
readonly label: string
readonly label?: string
selected?: boolean
readonly data?: { [key: string]: any }
}
Expand Down

0 comments on commit ed2f8fe

Please sign in to comment.