From 50504db31d5236025408863412d3bd2caa1e8ce1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 23 Mar 2020 22:28:32 +0000 Subject: [PATCH] --- ayanova/src/components/pick-list.vue | 4 +++- ayanova/src/views/home-dashboard.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/pick-list.vue b/ayanova/src/components/pick-list.vue index 343d88af..646e7fa4 100644 --- a/ayanova/src/components/pick-list.vue +++ b/ayanova/src/components/pick-list.vue @@ -74,11 +74,13 @@ export default { //It has a prior non empty selection that needs to be fetched //note that by default this will just fetch the selected record instead of the prefill list console.log("STUB: created: has value, sb fetched"); + var urlParams = "?ayaType=" + vm.ayaType + "&preId=" + vm.value; + vm.getList(urlParams); } else if (vm.preFill) { //no non-empty initial value to select but list specified to pre-fill vm.searchUnderway = true; vm.getList(); - } + } }, beforeUpdate() { //Set the initial list items based on the record items, this only needs to be called once at init diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index 50aab724..600dead0 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -48,7 +48,7 @@ export default { }, data() { return { - selectedWidget: null, + selectedWidget: 2, selectedUser: 1 }; },