Back to Openproject

Toast.Component

frontend/src/app/shared/components/toaster/toast.component.html

17.3.1383 B
Original Source

@if (type === 'loading') {

@if ((loading$ | async)) {

} } @if (type !== 'loading') {

@if (toast.link) { }

} @switch (type) { @case ('upload') { @if (canBeHidden) {

} @if (data && data.length > 0) { @for (upload of data; track upload) { } }

} @case ('success') {

} @case ('error') {

@for (error of data; track error) { - }

} } @if (removable) { }