Merged PR 1976: fix(process): Simulate "old tab logic"

fix(process): Simulate "old tab logic"

Refs: #5375
This commit is contained in:
Nino Righi
2025-10-21 12:11:10 +00:00
committed by Lorenz Hilpert
parent 26502eccbb
commit 915267d726
2 changed files with 4 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
<span class="truncate">
{{ p.name }}
</span>
@if (showCart() && p.type === 'cart') {
@if (p.type === 'cart') {
<button
type="button"
class="rounded-full px-3 h-[2.375rem] font-bold text-p1 flex flex-row items-center justify-between shopping-cart-count ml-4"

View File

@@ -67,6 +67,9 @@ export class ShellProcessBarComponent implements OnInit {
initProcesses$() {
this.processes$ = this.section$.pipe(
switchMap((section) => this._app.getProcesses$(section)),
map((processes) =>
processes.filter((process) => process.type === 'cart'),
),
);
}