From 6bce6808f275df53107f5b72d4ae48590ed5f57c Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 24 Jan 2024 14:06:26 +0100 Subject: [PATCH] Fix small sanity check bugs [SCI-10080] --- app/javascript/vue/shared/datatable/table.vue | 1 + app/javascript/vue/shared/datatable/toolbar.vue | 1 + app/serializers/lists/project_and_folder_serializer.rb | 6 +++++- config/locales/en.yml | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/javascript/vue/shared/datatable/table.vue b/app/javascript/vue/shared/datatable/table.vue index 884b9de55..e8d061f56 100644 --- a/app/javascript/vue/shared/datatable/table.vue +++ b/app/javascript/vue/shared/datatable/table.vue @@ -321,6 +321,7 @@ export default { if (this.dataLoading) return; this.dataLoading = true; + this.selectedRows = []; this.page = 1; this.loadData(true); }, diff --git a/app/javascript/vue/shared/datatable/toolbar.vue b/app/javascript/vue/shared/datatable/toolbar.vue index f37aa7e4c..33b491812 100644 --- a/app/javascript/vue/shared/datatable/toolbar.vue +++ b/app/javascript/vue/shared/datatable/toolbar.vue @@ -54,6 +54,7 @@