mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
fix(process-bar): Simulate "old tab logic" for reward release
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -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'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user