|
|
@@ -66,11 +66,6 @@ export default class AppContainer extends Container {
|
|
|
|
|
|
this.interceptorManager = new InterceptorManager();
|
|
|
|
|
|
- if (this.currentUser != null) {
|
|
|
- // remove old user cache
|
|
|
- this.removeOldUserCache();
|
|
|
- }
|
|
|
-
|
|
|
const isPluginEnabled = body.dataset.pluginEnabled === 'true';
|
|
|
if (isPluginEnabled) {
|
|
|
this.initPlugins();
|
|
|
@@ -223,18 +218,6 @@ export default class AppContainer extends Container {
|
|
|
return emojiStrategy;
|
|
|
}
|
|
|
|
|
|
- removeOldUserCache() {
|
|
|
- if (window.localStorage.userByName == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- const keys = ['userByName', 'userById', 'users', 'lastFetched'];
|
|
|
-
|
|
|
- keys.forEach((key) => {
|
|
|
- window.localStorage.removeItem(key);
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
launchHandsontableModal(componentKind, beginLineNumber, endLineNumber) {
|
|
|
let targetComponent;
|
|
|
switch (componentKind) {
|