mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix statistics graph days_to_show can't be erased (#15892)
This commit is contained in:
parent
da2de3c7d2
commit
d07ae1cf48
@ -172,7 +172,7 @@ export class HuiStatisticsGraphCardEditor
|
||||
},
|
||||
{
|
||||
name: "days_to_show",
|
||||
required: true,
|
||||
default: 30,
|
||||
selector: { number: { min: 1, mode: "box" } },
|
||||
},
|
||||
{
|
||||
@ -258,7 +258,6 @@ export class HuiStatisticsGraphCardEditor
|
||||
const data = {
|
||||
chart_type: "line",
|
||||
period: "hour",
|
||||
days_to_show: 30,
|
||||
...this._config,
|
||||
stat_types: configured_stat_types,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user