diff --git a/force-app/main/default/classes/SFDCStopTeamController.cls b/force-app/main/default/classes/SFDCStopTeamController.cls index 23f2dfb8..f99078a4 100644 --- a/force-app/main/default/classes/SFDCStopTeamController.cls +++ b/force-app/main/default/classes/SFDCStopTeamController.cls @@ -323,6 +323,15 @@ public class SFDCStopTeamController { ) ); + sfdcstopContributors.add( + new Contributor( + 'Alvin Bernard', + 'https://cdn.cnn.com/cnnnext/dam/assets/211227135008-02-the-batman-trailer-exlarge-169.jpg', + Date.newInstance(2022, 03, 03), + 'https://trailblazer.me/id/abernard1' + ) + ); + return JSON.serialize(sfdcstopContributors); } } diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 0a5bdb65..6b85b911 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,10 @@

-   SFDC Stop Contributors +   SFDC Stop Contributors for the Year 2022 and 2023 +
SFDC Stop Contributors for the year 2021 +
SFDC Stop Contributors for the year 2022 +
SFDC Stop Contributors for the year 2023

@@ -29,4 +32,4 @@

- \ No newline at end of file + diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js index 798b73cc..10aabc6b 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js @@ -5,6 +5,7 @@ export default class SfdcstopTeam extends LightningElement { contributors = []; + //This is wire as function implementation @wire(getContributors) contributorResponse({ error, data }) { if(data) {