mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-04 20:14:28 +02:00
Merge branch 'main' of https://github.com/AalianKhan/mushroom-strategy into hide-devices
This commit is contained in:
2
dist/mushroom-strategy.js
vendored
2
dist/mushroom-strategy.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,10 +82,6 @@ class HomeView extends AbstractView {
|
|||||||
|
|
||||||
// Add area cards.
|
// Add area cards.
|
||||||
homeViewCards.push({
|
homeViewCards.push({
|
||||||
type: "custom:mushroom-title-card",
|
|
||||||
title: "Areas",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "vertical-stack",
|
type: "vertical-stack",
|
||||||
cards: areaCards,
|
cards: areaCards,
|
||||||
});
|
});
|
||||||
@@ -181,7 +177,10 @@ class HomeView extends AbstractView {
|
|||||||
* @return {Object[]} A card object array.
|
* @return {Object[]} A card object array.
|
||||||
*/
|
*/
|
||||||
#createAreaCards() {
|
#createAreaCards() {
|
||||||
const groupedCards = [];
|
const groupedCards = [{
|
||||||
|
type: "custom:mushroom-title-card",
|
||||||
|
title: "Areas",
|
||||||
|
}];
|
||||||
|
|
||||||
import("../cards/AreaCard").then(areaModule => {
|
import("../cards/AreaCard").then(areaModule => {
|
||||||
const areaCards = [];
|
const areaCards = [];
|
||||||
|
Reference in New Issue
Block a user