From 4895d7ecc5ad6d8a15125cf1305fc90edf14f6ab Mon Sep 17 00:00:00 2001 From: Roger Mitchell Date: Fri, 12 Jul 2019 12:38:46 -0400 Subject: [PATCH] `onchange` gets grant work items --- .../lwc/timecardAppComponent/timecardAppComponent.html | 4 ++-- .../default/lwc/timecardAppComponent/timecardAppComponent.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.html b/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.html index 186f849..dd618a2 100644 --- a/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.html +++ b/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.html @@ -6,12 +6,12 @@
- +
diff --git a/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.js b/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.js index 7598ea9..d9faae7 100644 --- a/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.js +++ b/force-app/main/default/lwc/timecardAppComponent/timecardAppComponent.js @@ -36,7 +36,7 @@ export default class TimecardAppComponent extends LightningElement { handleSelectGrant(e) { this.grantId = e.target.value; getGrantWorkItems({"grantId": this.grantId}).then((response) => { - console.log(JSON.stringify(response)); + this.grantWorkItems = response; }); }