@for (tab of tabs; track tab.id) {
  • @if (!tab.route) { @if (counter(tab) | async; as tabCounter) { @if (tab.showCountAsBubble) { } @if (tabCounter > 0 && !tab.showCountAsBubble) { ({{ tabCounter }}) } } } @if (tab.route) { @if (counter(tab) | async; as tabCounter) { @if (tab.showCountAsBubble) { } @if (tabCounter > 0 && !tab.showCountAsBubble) { ({{ tabCounter }}) } } }
  • }