Skip to content

Commit 261eb85

Browse files
committed
fix(testapp): remove Ivy incompatible ngx-perfect-scrollbar
1 parent d59b1f2 commit 261eb85

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

Diff for: package-lock.json

-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"karma-jasmine": "~5.1.0",
6161
"karma-jasmine-html-reporter": "^2.1.0",
6262
"ng-packagr": "^15.2.2",
63-
"ngx-perfect-scrollbar": "^10.1.1",
6463
"protractor": "~7.0.0",
6564
"shelljs": "^0.8.5",
6665
"simple-line-icons": "^2.5.5",

Diff for: src/app/app.module.ts

-9
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ import { NgModule } from '@angular/core';
33
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
44
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
55

6-
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
7-
import { PERFECT_SCROLLBAR_CONFIG } from 'ngx-perfect-scrollbar';
8-
import { PerfectScrollbarConfigInterface } from 'ngx-perfect-scrollbar';
9-
10-
const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
11-
suppressScrollX: true
12-
};
13-
146
import { AppComponent } from './app.component';
157

168
// Import containers
@@ -43,7 +35,6 @@ import { AppRoutingModule } from './app.routing';
4335
AppFooterModule,
4436
AppHeaderModule,
4537
AppSidebarModule,
46-
PerfectScrollbarModule
4738
],
4839
declarations: [
4940
AppComponent,

Diff for: src/app/containers/default-layout/default-layout.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</app-header>
1111
<div class="app-body">
1212
<app-sidebar [fixed]="true" [display]="'lg'" [minimized]="minimized" #sidebar (minimizedChange)="toggleMinimize($event)">
13-
<app-sidebar-nav [navItems]="navItems" [perfectScrollbar] [disabled]="sidebar.minimized"></app-sidebar-nav>
13+
<app-sidebar-nav [navItems]="navItems"></app-sidebar-nav>
1414
<app-sidebar-minimizer></app-sidebar-minimizer>
1515
</app-sidebar>
1616
<!-- Main content -->

0 commit comments

Comments
 (0)