Skip to content

Commit

Permalink
Merge pull request #168 from SFDO-Community/gckit-166
Browse files Browse the repository at this point in the history
FIx function ref to this.
  • Loading branch information
iandrosov authored Jan 8, 2025
2 parents 78d8924 + fcd1786 commit d505e14
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,10 @@ export default class GgwGrantApplication extends NavigationMixin(LightningElemen

exportGrantVFHTML(){
let tabName = TAB_GRANT_PREVIEW;
if(is2GPNamespace()){
if(this.is2GPNamespace()){
tabName = NAMESPACE_PFX + TAB_GRANT_PREVIEW;
}
console.log(`TAB Name: ${tabName}`);
this[NavigationMixin.Navigate]({
type: 'standard__navItemPage',
attributes: {
Expand All @@ -245,7 +246,7 @@ export default class GgwGrantApplication extends NavigationMixin(LightningElemen
exportGrantVFWord(){
// Tab name - Grant Preview Word
let tabName = TAB_GRANT_PREVIEW_WORD;
if(is2GPNamespace()){
if(this.is2GPNamespace()){
tabName = NAMESPACE_PFX + TAB_GRANT_PREVIEW_WORD;
}

Expand All @@ -264,7 +265,7 @@ export default class GgwGrantApplication extends NavigationMixin(LightningElemen
exportGrantVFPdf(){
// Tab Name - Grant_Preview_PDF
let tabName = TAB_GRANT_PREVIEW_PDF;
if(is2GPNamespace()){
if(this.is2GPNamespace()){
tabName = NAMESPACE_PFX + TAB_GRANT_PREVIEW_PDF;
}

Expand Down

0 comments on commit d505e14

Please sign in to comment.