Skip to content

Commit

Permalink
fix(bs-dropdown): state provided issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Oct 21, 2024
1 parent a9fe8e0 commit 1228a43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions apps/ngx-bootstrap-docs/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { environment } from '../environments/environment';
Expand All @@ -15,8 +14,8 @@ import { routes } from './app.routing';
],
bootstrap: [AppComponent], imports: [BrowserAnimationsModule,
DocsModule,
RouterModule.forRoot(routes, { useHash: environment.useHash }),
BsDropdownModule], providers: [
RouterModule.forRoot(routes, { useHash: environment.useHash })
], providers: [
{ provide: NgApiDoc, useValue: ngdoc },
{ provide: DOCS_TOKENS, useValue: routes },
{ provide: SIDEBAR_ROUTES, useValue: SidebarRoutesStructure },
Expand Down
1 change: 0 additions & 1 deletion src/dropdown/bs-dropdown-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import { NgClass } from '@angular/common';
[class.open]="isOpen"><ng-content></ng-content>
</div>
`,
providers: [BsDropdownState]
})
export class BsDropdownContainerComponent implements OnDestroy {
isOpen = false;
Expand Down

0 comments on commit 1228a43

Please sign in to comment.