fix(process-bar): Simulate "old tab logic" for reward release

This commit is contained in:
Nino
2025-10-30 15:22:30 +01:00
parent c769af7021
commit 55219f125b
2 changed files with 6 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ export class ShellProcessBarItemComponent
closed = new EventEmitter();
showCart = computed(() => {
// TODO: Nach Prämie release kann die Logik wieder rein
return true;
const tab = this.tab();
const pdata = tab.metadata?.process_data as { count?: number };

View File

@@ -67,6 +67,10 @@ export class ShellProcessBarComponent implements OnInit {
initProcesses$() {
this.processes$ = this.section$.pipe(
switchMap((section) => this._app.getProcesses$(section)),
// TODO: Nach Prämie release kann der Filter rausgenommen werden
map((processes) =>
processes.filter((process) => process.type === 'cart'),
),
);
}