Fix protocol sorting [SCI-10287]

This commit is contained in:
Anton 2024-02-28 10:54:28 +01:00
parent dda7e039b0
commit 588f69efd7
3 changed files with 4 additions and 3 deletions

View file

@ -290,7 +290,6 @@ export default {
this.fetchTableState(); this.fetchTableState();
}, },
mounted() { mounted() {
this.loadData();
window.addEventListener('resize', this.resize); window.addEventListener('resize', this.resize);
}, },
beforeDestroy() { beforeDestroy() {
@ -338,6 +337,8 @@ export default {
this.initializing = false; this.initializing = false;
this.gridApi.sizeColumnsToFit(); this.gridApi.sizeColumnsToFit();
} }
this.loadData();
}); });
}, },
applyTableState(state) { applyTableState(state) {

View file

@ -56,7 +56,7 @@
:class="{'w-48': showSearch, 'w-11': !showSearch}"> :class="{'w-48': showSearch, 'w-11': !showSearch}">
<input <input
ref="searchInput" ref="searchInput"
class="sci-input-field !pr-8" class="sci-input-field !pr-9"
type="text" type="text"
@focus="openSearch" @focus="openSearch"
@blur="hideSearch" @blur="hideSearch"

View file

@ -87,7 +87,7 @@ module Lists
assigned_users: 'nr_of_assigned_users', assigned_users: 'nr_of_assigned_users',
published_by: 'full_username_str', published_by: 'full_username_str',
published_on: 'published_on', published_on: 'published_on',
udpated_at: 'updated_at', updated_at: 'updated_at',
archived_by: 'archived_full_username_str', archived_by: 'archived_full_username_str',
archived_on: 'archived_on' archived_on: 'archived_on'
} }