diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
index dce6a2c..8c9fc57 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
@@ -261,6 +261,7 @@
-->
+
@@ -292,7 +293,7 @@
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
index ce7dc41..a69277f 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
@@ -21,6 +21,7 @@ import Swal from 'sweetalert2';
import { VideoPlayerComponent } from 'app/video-player/video-player.component';
import { AwsService } from 'app/AwsService/aws.service';
import { ExcelUploadDialogComponent } from '../add-pd/excel-upload-dialog/excel-upload-dialog.component';
+import { environment } from 'environments/environment';
@Component({
selector: 'app-view-pd',
@@ -33,7 +34,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
private notifier: NotifierService;
public userRoleID = +localStorage.getItem('user_role');
public LenderRoleID : any = localStorage.getItem('LenderRoleID');
-
+ private environmentName = environment.environmentName;
errorMessage: any;
pdMasterData: any = [];
pdAddressesData: any = [];
@@ -133,6 +134,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
is_agency_logged_in: boolean;
currentVendorStatus: any;
pdAgencyid: any;
+ dummyFlag:any;
constructor(notifier: NotifierService, private dialog: MatDialog, private _fb: FormBuilder,
private _pd: PdTrigerService, private route: ActivatedRoute, private router: Router, private ListPdComponent: ListPdComponent,
@@ -148,6 +150,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
ngOnInit() {
this.userRoleType=localStorage.getItem('user_role');
+
if(this.userRoleType=='28' || this.userRoleType=='29')
{
this.is_agency_logged_in=true;
@@ -161,6 +164,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
this.userId = this._aws.getlocale()
console.log(this.userId);
console.log(this.userRoleID);
+ this.dummyFlag = (this.environmentName == 'Production Environment' && this.userId == '284') ? true : ((this.environmentName == 'Development Environment' && this.userId == '392') ? true: false);
this.ListPdComponent.showListView(false);
this.route.params.subscribe(params => {
this.viewID = params['pdid'];