From a16c70b830bc904d9c5b564e4c95ad591a00f035 Mon Sep 17 00:00:00 2001 From: Nicolas Frizzarin Date: Thu, 21 Dec 2023 16:20:08 +0100 Subject: [PATCH] fix(module:tabs): change tab trigger ngSubmit function (#8310) --- components/tabs/tabset.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/tabs/tabset.component.ts b/components/tabs/tabset.component.ts index cc4ed15c26..472801b3a5 100644 --- a/components/tabs/tabset.component.ts +++ b/components/tabs/tabset.component.ts @@ -51,7 +51,7 @@ import { NzTabBodyComponent } from './tab-body.component'; import { NzTabCloseButtonComponent } from './tab-close-button.component'; import { NzTabNavBarComponent } from './tab-nav-bar.component'; import { NzTabNavItemDirective } from './tab-nav-item.directive'; -import { NzTabComponent, NZ_TAB_SET } from './tab.component'; +import { NZ_TAB_SET, NzTabComponent } from './tab.component'; const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'tabs'; @@ -95,6 +95,7 @@ let nextId = 0; *ngFor="let tab of tabs; let i = index" >