Fix function call for wrappint tables [SCI-10076]

This commit is contained in:
Andrej 2024-03-19 09:28:06 +01:00
parent 911fbf6882
commit 2b261e5c27

View file

@ -327,7 +327,7 @@ function initAccessModal() {
});
}
function wrapTables() {
function initWrapTables() {
const viewMode = new URLSearchParams(window.location.search).get('view_mode');
if (['archived', 'locked', 'active'].includes(viewMode)) {
setTimeout(() => {
@ -348,7 +348,7 @@ function init() {
initProtocolSectionOpenEvent();
initDetailsDropdown();
initAccessModal();
wrapTables();
initWrapTables();
}
init();