Web: Fix: init Files
This commit is contained in:
parent
0d6fcd6f52
commit
d9e3e96ab8
@ -15,6 +15,7 @@ class InitFilesStore {
|
||||
dragging = false;
|
||||
dragItem = null;
|
||||
privacyInstructions = "https://www.onlyoffice.com/private-rooms.aspx";
|
||||
isInit = false;
|
||||
|
||||
constructor() {
|
||||
const pathname = window.location.pathname.toLowerCase();
|
||||
@ -88,7 +89,8 @@ class InitFilesStore {
|
||||
}
|
||||
|
||||
initFiles = () => {
|
||||
if (this.isLoaded) return;
|
||||
if (this.isInit) return;
|
||||
this.isInit = true;
|
||||
|
||||
const isAuthenticated = auth.isAuthenticated;
|
||||
const {
|
||||
|
Loading…
Reference in New Issue
Block a user