Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Dec 11, 2023
1 parent 193f0d3 commit de88fba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/core/components/drawer/drawerPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export class DrawerPanel extends ArgonComponent {

_processCategories() {
let categories = this.categories;
if (!categories[0]?.categories) categories = [{title: this.tile, categories}];
const title = this.title;
if (!categories[0]?.categories) categories = [{title, categories}];
this._categories = categories
}

Expand Down

0 comments on commit de88fba

Please sign in to comment.