mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-04 20:14:28 +02:00
Refactor grouped cards
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
@@ -177,12 +177,10 @@ class HomeView extends AbstractView {
|
|||||||
* @return {Object[]} A card object array.
|
* @return {Object[]} A card object array.
|
||||||
*/
|
*/
|
||||||
#createAreaCards() {
|
#createAreaCards() {
|
||||||
const groupedCards = [];
|
const groupedCards = [{
|
||||||
groupedCards.push({
|
|
||||||
type: "custom:mushroom-title-card",
|
type: "custom:mushroom-title-card",
|
||||||
title: "Areas",
|
title: "Areas",
|
||||||
},
|
}];
|
||||||
);
|
|
||||||
|
|
||||||
import("../cards/AreaCard").then(areaModule => {
|
import("../cards/AreaCard").then(areaModule => {
|
||||||
const areaCards = [];
|
const areaCards = [];
|
||||||
|
Reference in New Issue
Block a user