From cabb7f231c8b90878fbe3581dd4196258872c0ef Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 30 Jan 2021 19:45:23 +0000 Subject: [PATCH] --- ayanova/src/views/ay-data-list-column-view.vue | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ayanova/src/views/ay-data-list-column-view.vue b/ayanova/src/views/ay-data-list-column-view.vue index 6094225b..b43eb1fe 100644 --- a/ayanova/src/views/ay-data-list-column-view.vue +++ b/ayanova/src/views/ay-data-list-column-view.vue @@ -433,15 +433,13 @@ export default { } } }, - async remove() { + async reset() { let vm = this; try { - if ((await window.$gz.dialog.confirmDelete()) !== true) { - return; - } - //do the delete + + vm.formState.loading = true; - //No need to delete a non saved record, just abandon it... + let url = API_BASE_URL + vm.listViewId; @@ -530,7 +528,7 @@ function generateMenu(vm) { menuOptions.menuItems.push({ title: "ResetToDefault", - icon: "$ayiTrashAlt", + icon: "$ayiUndo", surface: false, key: FORM_KEY + ":reset", vm: vm