⚡ Adds support for widgets in Minimal View
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
:icon="section.icon || undefined"
|
||||
:groupId="`section-${index}`"
|
||||
:items="filterTiles(section.items)"
|
||||
:widgets="section.widgets"
|
||||
:selected="selectedSection === index"
|
||||
:showAll="!tabbedView"
|
||||
itemSize="small"
|
||||
@@ -104,7 +105,9 @@ export default {
|
||||
else {
|
||||
let itemsFound = true;
|
||||
this.sections.forEach((section) => {
|
||||
if (this.filterTiles(section.items).length > 0) itemsFound = false;
|
||||
if (section.widgets || this.filterTiles(section.items).length > 0) {
|
||||
itemsFound = false;
|
||||
}
|
||||
});
|
||||
return itemsFound;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user