|
|
@@ -39,6 +39,7 @@ export default class AppContainer extends Container {
|
|
|
this.csrfToken = body.dataset.csrftoken;
|
|
|
this.isPluginEnabled = body.dataset.pluginEnabled === 'true';
|
|
|
this.isLoggedin = document.querySelector('.main-container.nologin') == null;
|
|
|
+
|
|
|
this.config = JSON.parse(document.getElementById('growi-context-hydrate').textContent || '{}');
|
|
|
|
|
|
const currentUserElem = document.getElementById('growi-current-user');
|