This commit is contained in:
2020-02-21 23:36:19 +00:00
parent 11a6e933de
commit ac39d0b1b7
2 changed files with 15 additions and 16 deletions

View File

@@ -767,8 +767,8 @@ function loadFormSettings(vm) {
if (vm.listViewId == -1) {
//-1 is code for unsaved list view
//check if there is a local copy of a listview vm was edited but not saved
if (formSettings.saved.dataTable.editedListView != undefined) {
vm.listView = formSettings.saved.dataTable.editedListView;
if (formSettings.saved.dataTable.unsavedListView != undefined) {
vm.listView = formSettings.saved.dataTable.unsavedListView;
} else {
//listviewid is for unsaved but we have no unsaved so fix that up
vm.listView = undefined;