Merge pull request #7319 from rekonder/aj_SCI_10076

Fix function call for wrapping tables [SCI-10076][SCI-10463]
This commit is contained in:
ajugo 2024-03-19 10:17:52 +01:00 committed by GitHub
commit 333a05bfd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();