This commit is contained in:
@@ -172,6 +172,11 @@ export default {
|
||||
selectItem: function(item) {
|
||||
this.selectedRow = [item];
|
||||
this.pvm.selectedItemIndex = item.index;
|
||||
//select children if 1 record to expose edit form in place
|
||||
//or select none if more than one so that data table shows instead for selection
|
||||
let woitem = this.value.items[item.index];
|
||||
this.pvm.selectedScheduledUserItemIndex =
|
||||
woitem.scheduledUsers.length == 1 ? 0 : null;
|
||||
},
|
||||
form() {
|
||||
return window.$gz.form;
|
||||
|
||||
Reference in New Issue
Block a user