mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Rename variables
This commit is contained in:
parent
79f3dfdfce
commit
14c2b60538
@ -209,8 +209,10 @@ export class SectionsView extends LitElement implements LovelaceViewElement {
|
|||||||
(section) => this._getSectionKey(section),
|
(section) => this._getSectionKey(section),
|
||||||
(section, idx) => {
|
(section, idx) => {
|
||||||
const sectionConfig = this._config?.sections?.[idx];
|
const sectionConfig = this._config?.sections?.[idx];
|
||||||
const columnSpan = Math.min(sectionConfig?.column_span || 1);
|
const columnSpan = Math.min(
|
||||||
|
sectionConfig?.column_span || 1,
|
||||||
|
maxColumnCount
|
||||||
|
);
|
||||||
const rowSpan = sectionConfig?.row_span || 1;
|
const rowSpan = sectionConfig?.row_span || 1;
|
||||||
|
|
||||||
(section as any).itemPath = [idx];
|
(section as any).itemPath = [idx];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user