Merge branch 'main' of https://github.com/AalianKhan/mushroom-strategy into hide-devices

This commit is contained in:
Aalian Khan
2023-09-19 11:03:45 -04:00
2 changed files with 5 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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 = [];