mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Fix protocol sorting [SCI-10287]
This commit is contained in:
parent
dda7e039b0
commit
588f69efd7
3 changed files with 4 additions and 3 deletions
|
@ -290,7 +290,6 @@ export default {
|
|||
this.fetchTableState();
|
||||
},
|
||||
mounted() {
|
||||
this.loadData();
|
||||
window.addEventListener('resize', this.resize);
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
@ -338,6 +337,8 @@ export default {
|
|||
this.initializing = false;
|
||||
this.gridApi.sizeColumnsToFit();
|
||||
}
|
||||
|
||||
this.loadData();
|
||||
});
|
||||
},
|
||||
applyTableState(state) {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
:class="{'w-48': showSearch, 'w-11': !showSearch}">
|
||||
<input
|
||||
ref="searchInput"
|
||||
class="sci-input-field !pr-8"
|
||||
class="sci-input-field !pr-9"
|
||||
type="text"
|
||||
@focus="openSearch"
|
||||
@blur="hideSearch"
|
||||
|
|
|
@ -87,7 +87,7 @@ module Lists
|
|||
assigned_users: 'nr_of_assigned_users',
|
||||
published_by: 'full_username_str',
|
||||
published_on: 'published_on',
|
||||
udpated_at: 'updated_at',
|
||||
updated_at: 'updated_at',
|
||||
archived_by: 'archived_full_username_str',
|
||||
archived_on: 'archived_on'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue