Fairoj : issue fixes
This commit is contained in:
parent
24e89c63ee
commit
d220dc7f30
@ -432,7 +432,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
.subscribe(dataresult => {
|
.subscribe(dataresult => {
|
||||||
console.log("cloesed",dataresult)
|
console.log("cloesed",dataresult)
|
||||||
if(dataresult == undefined) {
|
if(dataresult == undefined) {
|
||||||
this.ListPdComponent.viewPDDetails({id:this.viewID,string:this.masterRandomString})
|
// this.ListPdComponent.viewPDDetails({id:this.viewID,string:this.masterRandomString})
|
||||||
}
|
}
|
||||||
// this.notifier.notify('success', 'Successfully allocated.!');
|
// this.notifier.notify('success', 'Successfully allocated.!');
|
||||||
// this.loadTemplates(this.startPD,2,this.randomString);
|
// this.loadTemplates(this.startPD,2,this.randomString);
|
||||||
@ -604,7 +604,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
url = window.location.origin+'/#/personal_discussion/pdlist/viewpd?str='+this.viewID+'/'+this.masterRandomString+'/link';
|
url = window.location.origin+'/#/personal_discussion/pdlist/viewpd?str='+this.viewID+'/'+this.masterRandomString+'/link';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
url = window.location.origin+'/pd/#/personal_discussion/pdlist/viewpd?str='+this.viewID+'/'+this.masterRandomString+'/link';
|
url = window.location.origin+'/vendor/#/personal_discussion/pdlist/viewpd?str='+this.viewID+'/'+this.masterRandomString+'/link';
|
||||||
}
|
}
|
||||||
if(url) {
|
if(url) {
|
||||||
this.copyToClipBoard(url)
|
this.copyToClipBoard(url)
|
||||||
@ -643,7 +643,8 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
// this.viewPdDetails(this.childData);
|
// this.viewPdDetails(this.childData);
|
||||||
// }
|
// }
|
||||||
ngOnDestroy(): void {
|
ngOnDestroy(): void {
|
||||||
if (this.destroyType == 1) {
|
console.log("View PD Destroy component called",this.is_from_link)
|
||||||
|
if (this.destroyType == 1 && !this.is_from_link) {
|
||||||
this.ListPdComponent.pdListLoad(true);
|
this.ListPdComponent.pdListLoad(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,7 @@ import { MapPdViewComponent } from './list-pd/map-pd-view/map-pd-view.component'
|
|||||||
import { AddPdComponent } from '../manage-pd/list-pd/add-pd/add-pd.component';
|
import { AddPdComponent } from '../manage-pd/list-pd/add-pd/add-pd.component';
|
||||||
import { ViewPdComponent } from '../manage-pd/list-pd/view-pd/view-pd.component';
|
import { ViewPdComponent } from '../manage-pd/list-pd/view-pd/view-pd.component';
|
||||||
import { PdReportComponent } from './list-pd/pd-report/pd-report.component';
|
import { PdReportComponent } from './list-pd/pd-report/pd-report.component';
|
||||||
import { CommonQuesComponent } from './list-pd/pd-questions/common-ques/common-ques.component';
|
|
||||||
import { PdQuestionsModule } from './list-pd/pd-questions/pd-questions.module';
|
|
||||||
/*
|
/*
|
||||||
* manage pd router
|
* manage pd router
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user