Fix hide legend toggle in stats graph editor (#19021)

This commit is contained in:
karwosts 2023-12-18 02:55:50 -08:00 committed by GitHub
parent 8a423fb775
commit a8f7c7c999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,8 @@ export class StatisticsChart extends LitElement {
changedProps.has("unit") ||
changedProps.has("period") ||
changedProps.has("chartType") ||
changedProps.has("logarithmicScale")
changedProps.has("logarithmicScale") ||
changedProps.has("hideLegend")
) {
this._createOptions();
}