Merge pull request #7192 from lasniscinote/gl_SCI_10076

(fix )locked view fix [SCI-10076]
This commit is contained in:
ajugo 2024-03-05 14:02:00 +01:00 committed by GitHub
commit 6660e716c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -319,7 +319,7 @@ function init() {
init();
const viewMode = new URLSearchParams(window.location.search).get('view_mode');
if (viewMode === 'archived') {
if (['archived', 'locked'].includes(viewMode)) {
setTimeout(() => {
const notesContainerEl = document.getElementById('notes-container');
window.wrapTables(notesContainerEl);