diff --git a/admin/src/pages/Creation.spec.js b/admin/src/pages/Creation.spec.js index f9a4ed506..204c35817 100644 --- a/admin/src/pages/Creation.spec.js +++ b/admin/src/pages/Creation.spec.js @@ -71,6 +71,8 @@ describe('Creation', () => { searchText: '', currentPage: 1, pageSize: 25, + isDeleted: false, + notActivated: false, }, }), ) @@ -269,6 +271,8 @@ describe('Creation', () => { searchText: 'XX', currentPage: 1, pageSize: 25, + isDeleted: false, + notActivated: false, }, }), ) @@ -284,6 +288,8 @@ describe('Creation', () => { searchText: '', currentPage: 1, pageSize: 25, + isDeleted: false, + notActivated: false, }, }), ) @@ -299,6 +305,8 @@ describe('Creation', () => { searchText: '', currentPage: 2, pageSize: 25, + isDeleted: false, + notActivated: false, }, }), ) diff --git a/admin/src/pages/Creation.vue b/admin/src/pages/Creation.vue index 8a229d7be..e5b93350f 100644 --- a/admin/src/pages/Creation.vue +++ b/admin/src/pages/Creation.vue @@ -102,6 +102,8 @@ export default { searchText: this.criteria, currentPage: this.currentPage, pageSize: this.perPage, + notActivated: false, + isDeleted: false, }, fetchPolicy: 'network-only', }) diff --git a/admin/src/pages/UserSearch.spec.js b/admin/src/pages/UserSearch.spec.js index bd18965ac..0b98d4d11 100644 --- a/admin/src/pages/UserSearch.spec.js +++ b/admin/src/pages/UserSearch.spec.js @@ -82,8 +82,8 @@ describe('UserSearch', () => { searchText: '', currentPage: 1, pageSize: 25, - notActivated: false, - isDeleted: false, + notActivated: null, + isDeleted: null, }, }), ) @@ -102,7 +102,7 @@ describe('UserSearch', () => { currentPage: 1, pageSize: 25, notActivated: true, - isDeleted: false, + isDeleted: null, }, }), ) @@ -121,7 +121,7 @@ describe('UserSearch', () => { searchText: '', currentPage: 1, pageSize: 25, - notActivated: false, + notActivated: null, isDeleted: true, }, }), @@ -141,8 +141,8 @@ describe('UserSearch', () => { searchText: '', currentPage: 2, pageSize: 25, - notActivated: false, - isDeleted: false, + notActivated: null, + isDeleted: null, }, }), ) @@ -161,8 +161,8 @@ describe('UserSearch', () => { searchText: 'search string', currentPage: 1, pageSize: 25, - notActivated: false, - isDeleted: false, + notActivated: null, + isDeleted: null, }, }), ) @@ -178,8 +178,8 @@ describe('UserSearch', () => { searchText: '', currentPage: 1, pageSize: 25, - notActivated: false, - isDeleted: false, + notActivated: null, + isDeleted: null, }, }), ) diff --git a/admin/src/pages/UserSearch.vue b/admin/src/pages/UserSearch.vue index 35d29ad7f..b2737bae6 100644 --- a/admin/src/pages/UserSearch.vue +++ b/admin/src/pages/UserSearch.vue @@ -3,11 +3,11 @@