mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1976: fix(process): Simulate "old tab logic"
fix(process): Simulate "old tab logic" Refs: #5375
This commit is contained in:
committed by
Lorenz Hilpert
parent
26502eccbb
commit
915267d726
@@ -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"
|
||||
|
||||
@@ -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'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user