Browse Source

Refactoring

pull/4601/head
Kalutka Zhenya 5 years ago
parent
commit
9209760036
  1. 3
      ui-ngx/src/app/shared/components/toast.directive.ts

3
ui-ngx/src/app/shared/components/toast.directive.ts

@ -256,6 +256,7 @@ import {
animate,
} from '@angular/animations';
import { onParentScrollOrWindowResize } from '@core/utils';
import ClickEvent = JQuery.ClickEvent;
export const toastAnimations: {
readonly showHideToast: AnimationTriggerMetadata;
@ -356,7 +357,7 @@ export class TbSnackBarComponent implements AfterViewInit, OnDestroy {
}
}
action(event): void {
action(event: MouseEvent): void {
event.stopPropagation();
if (this.snackBarRef) {
this.snackBarRef.dismissWithAction();

Loading…
Cancel
Save