disable wikibooks in studies until serverside CSP is here - REVERT ME

dark-default
Thibault Duplessis 2021-11-04 14:18:27 +01:00
parent 5406b84c21
commit baa0d8c337
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export function view(root: AnalyseCtrl): VNode {
return h( return h(
'div.study__comments', 'div.study__comments',
{ {
hook: onInsert(() => root.enableWiki(true)), // hook: onInsert(() => root.enableWiki(true)),
}, },
[ [
currentComments(root, !study.members.canContribute()), currentComments(root, !study.members.canContribute()),
@ -126,7 +126,7 @@ export function view(root: AnalyseCtrl): VNode {
}, },
}), }),
]), ]),
h('div.analyse__wiki.study__wiki'), h('div.analyse__wiki.study__wiki.empty'),
] ]
); );
} }