Skip to content

Commit 6ee6a0d

Browse files
committed
Merge branch 'upgrade_angular_version'
2 parents 7427bb7 + 58d1255 commit 6ee6a0d

File tree

6 files changed

+35
-7
lines changed

6 files changed

+35
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Light Blue Angular Dashboard - Ngx Admin Template (7.2.0 Full version) with Angular 11.2 Final Release support
1+
# Light Blue Angular Dashboard - Ngx Admin Template (7.2.2 Full version) with Angular 11.2 Final Release support
22

33
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.13.
44

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"optimization": true,
3535
"outputHashing": "all",
3636
"sourceMap": false,
37-
"extractCss": true,
3837
"namedChunks": false,
3938
"aot": true,
4039
"extractLicenses": true,

changelog.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## [7.2.2] - 05/18/2021
4+
### Fixed
5+
6+
- Fixed error on serving project
7+
8+
###Added packages
9+
lodash.isequal: 4.5.0
10+
11+
## [7.2.1] - 05/18/2021
12+
### Fixed
13+
14+
- Fixed error on serving project
15+
- Added new package "resize-observer-polyfill"
16+
- Fixed redirect to login page
17+
18+
###Updated packages
19+
@agm/core: 1.1.0 -> 3.0.0-beta.0
20+
ng2-carouselamos: 3.2.0 -> 4.1.0
21+
22+
###Added packages
23+
@types/googlemaps: 3.39.12
324

425
## [7.2.0] - 05/14/2021
526
### Updated

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "light-blue",
3-
"version": "7.2.0",
3+
"version": "7.2.2",
44
"description": "Light Blue - Angular 11 Dashboard",
55
"scripts": {
66
"analyze": "npm run build:stats && webpack-bundle-analyzer dist/stats.json --port 4201",
@@ -15,7 +15,7 @@
1515
},
1616
"private": true,
1717
"dependencies": {
18-
"@agm/core": "1.1.0",
18+
"@agm/core": "3.0.0-beta.0",
1919
"@amcharts/amcharts4": "4.10.18",
2020
"@amcharts/amcharts4-geodata": "4.1.20",
2121
"@angular-slider/ngx-slider": "^2.0.3",
@@ -53,10 +53,11 @@
5353
"highcharts": "9.1.0",
5454
"highcharts-angular": "2.10.0",
5555
"line-awesome": "1.3.0",
56+
"lodash.isequal": "^4.5.0",
5657
"ng-apexcharts": "1.5.9",
5758
"ng-autosize": "1.1.0",
5859
"ng-wizard": "1.0.0",
59-
"ng2-carouselamos": "3.2.0",
60+
"ng2-carouselamos": "4.1.0",
6061
"ngx-bootstrap": "6.2.0",
6162
"ngx-chips": "2.2.2",
6263
"ngx-color-picker": "11.0.0",
@@ -88,6 +89,7 @@
8889
"@angularclass/hmr": "3.0.0",
8990
"@types/amcharts": "3.21.6",
9091
"@types/echarts": "4.9.7",
92+
"@types/googlemaps": "3.39.12",
9193
"@types/node": "15.0.3",
9294
"@types/photoswipe": "4.1.1",
9395
"@types/sortablejs": "1.10.6",

src/app/layout/sidebar/sidebar.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Component, ElementRef, OnInit, AfterViewInit, Renderer2 } from '@angular/core';
2+
import { LoginService } from '../../pages/login/login.service';
23

34
@Component({
45
selector: '[sidebar]',
@@ -24,7 +25,8 @@ export class Sidebar implements OnInit, AfterViewInit {
2425

2526
constructor(
2627
private renderer: Renderer2,
27-
private el: ElementRef
28+
private el: ElementRef,
29+
private loginService: LoginService
2830
) {
2931
}
3032

@@ -86,6 +88,10 @@ export class Sidebar implements OnInit, AfterViewInit {
8688
this.renderer.setStyle(document
8789
.querySelector('.content'), 'margin-top', this.sidebarHeight + 'px');
8890
}
91+
92+
logout() {
93+
this.loginService.logoutUser();
94+
}
8995
}
9096

9197
export interface SidebarState {

src/app/layout/sidebar/sidebar.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h6 class="sidebar-nav-title">TEMPLATE</h6>
136136
[collapse]="sidebarState.extraCollapsed" [isAnimated]="true">
137137
<li [routerLinkActive]="['active']"><a routerLink="extra/calendar">Calendar</a></li>
138138
<li [routerLinkActive]="['active']"><a routerLink="extra/invoice">Invoice</a></li>
139-
<li><a routerLink="/login">Login</a></li>
139+
<li><a (click)="logout()">Login</a></li>
140140
<li><a routerLink="/error">Error Page</a></li>
141141
<li [routerLinkActive]="['active']"><a routerLink="extra/gallery">Gallery</a></li>
142142
<li [routerLinkActive]="['active']"><a routerLink="extra/search">Search</a></li>

0 commit comments

Comments
 (0)