mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-07 16:09:57 +08:00
Reinitialize the Table when switching the View from archived to active [SCI-7674]
This commit is contained in:
parent
a2a9e59518
commit
408dd7dcd8
1 changed files with 2 additions and 2 deletions
|
@ -152,12 +152,12 @@
|
|||
viewSwitch.on('click', '.view-switch-archived', function() {
|
||||
$('.repository-show').removeClass('active').addClass('archived');
|
||||
$('#manage-repository-column').removeClass('active').addClass('archived');
|
||||
RepositoryDatatable.reload();
|
||||
initTable();
|
||||
});
|
||||
viewSwitch.on('click', '.view-switch-active', function() {
|
||||
$('.repository-show').removeClass('archived').addClass('active');
|
||||
$('#manage-repository-column').removeClass('archived').addClass('active');
|
||||
RepositoryDatatable.reload();
|
||||
initTable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue