Cleanuparr
@for (item of mainNavItems; track item.route) { {{ item.label }} }
@if (!collapsed()) { } @if (settingsExpanded() || collapsed()) { @for (item of settingsItems; track item.route) { {{ item.label }} } @if (!collapsed()) { } @if (mediaAppsExpanded() || collapsed()) { @for (item of mediaAppItems; track item.route) { @if (item.iconSrc) { } @else if (item.icon) { } {{ item.label }} } } @for (item of otherSettingsItems; track item.route) { {{ item.label }} } }
@if (!collapsed()) { Support this project } @if (!collapsed() && currentVersion()) { {{ currentVersion() }} @if (hasUpdate()) { Update available: {{ latestVersion() }} } }