Produced by Araxis Merge on 4/2/2019 1:08:02 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\ARS_Frontend\ars-app\src\app\shared\header | header.component.ts | Wed Mar 27 19:18:31 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Frontend\ars-app\src\app\shared\header | header.component.ts | Fri Mar 29 18:23:58 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 80 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | import { C omponent, OnInit, In put, OnDes troy } fro m '@angula r/core'; | |
2 | import { A uthenticat ionService } from '. ./../auth/ auth.servi ce'; | |
3 | import { E wvViewerSe rvice } fr om '../../ ewv/ewv-vi ewer/ewv-v iewer.serv ice'; | |
4 | import { S ubscriptio n } from ' rxjs/Subsc ription'; | |
5 | @Component ({ | |
6 | selector : 'app-hea der', | |
7 | template Url: './he ader.compo nent.html' , | |
8 | styleUrl s: ['./hea der.compon ent.scss'] | |
9 | }) | |
10 | export cla ss HeaderC omponent i mplements OnInit, On Destroy { | |
11 | construc tor( | |
12 | privat e authenti cationServ ice: Authe nticationS ervice, | |
13 | privat e ewvViewe rService: EwvViewerS ervice | |
14 | ) {} | |
15 | ||
16 | isSplitV iew: boole an; | |
17 | isSplitS ubscriptio n = new Su bscription (); | |
18 | ||
19 | @Input() | |
20 | tabIdx = '0'; | |
21 | @Input() | |
22 | containe rClassWidt h = 1284; | |
23 | ||
24 | userName = ' AI '; | |
25 | ||
26 | ngOnInit () { | |
27 | this.u serName = this.authe nticationS ervice.get DecodedUse rInfo().us erName; | |
28 | ||
29 | this.i sSplitSubs cription = this.ewvV iewerServi ce.isSplit View.subsc ribe( | |
30 | data => (this. isSplitVie w = data) | |
31 | ); | |
32 | } | |
33 | ||
34 | logout() { | |
35 | this.a uthenticat ionService .logout(); | |
36 | } | |
37 | ||
38 | ngOnDest roy() { | |
39 | this.i sSplitSubs cription.u nsubscribe (); | |
40 | } | |
41 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.