Back to Paperless Ngx

Toast.Component

src-ui/src/app/components/common/toast/toast.component.html

2.20.15436 B
Original Source

@if (autohide) { {{ toast.delayRemaining / 1000 | number: '1.0-0' }} seconds } @if (!toast.error) { } @if (toast.error) { }

{{toast.content}}

@if (toast.error) { # @if (isDetailedError(toast.error)) { URL{{ toast.error.url }}Status{{ toast.error.status }} _{{ toast.error.statusText }}_Error{{ getErrorText(toast.error) }} }

@if (!copied) { } @if (copied) { } Copy Raw Error

} @if (toast.action) {

{{toast.actionName}}

}