Merge branch 'release/rc-v1.2.0' of github.com:ONLYOFFICE/DocSpace into release/rc-v1.2.0
This commit is contained in:
commit
a5062da2d2
@ -135,7 +135,7 @@ public class SecurityContext
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (tenant != _tenantManager.GetCurrentTenant().Id)
|
||||
{
|
||||
return false;
|
||||
@ -161,9 +161,9 @@ public class SecurityContext
|
||||
return false;
|
||||
}
|
||||
|
||||
var loginEventById = await _dbLoginEventsManager.GetById(loginEventId);
|
||||
|
||||
if (loginEventById == null)
|
||||
var loginEventById = await _dbLoginEventsManager.GetById(loginEventId);
|
||||
|
||||
if (loginEventById == null || !loginEventById.Active)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ const InviteInput = ({
|
||||
};
|
||||
|
||||
const closeInviteInputPanel = (e) => {
|
||||
if (e?.target.tagName.toUpperCase() == "INPUT") return;
|
||||
// if (e?.target.tagName.toUpperCase() == "INPUT") return;
|
||||
|
||||
setSearchPanelVisible(false);
|
||||
};
|
||||
|
@ -967,6 +967,7 @@ class FilesActionStore {
|
||||
|
||||
switch (action) {
|
||||
case "archive":
|
||||
this.setGroupMenuBlocked(true);
|
||||
return moveToFolder(archiveRoomsId, items)
|
||||
.then(async (res) => {
|
||||
const lastResult = res && res[res.length - 1];
|
||||
@ -1022,8 +1023,12 @@ class FilesActionStore {
|
||||
setTimeout(() => clearSecondaryProgressData(), TIMEOUT);
|
||||
return toastr.error(err.message ? err.message : err);
|
||||
})
|
||||
.finally(() => clearActiveOperations(null, items));
|
||||
.finally(() => {
|
||||
clearActiveOperations(null, items);
|
||||
this.setGroupMenuBlocked(false);
|
||||
});
|
||||
case "unarchive":
|
||||
this.setGroupMenuBlocked(true);
|
||||
return moveToFolder(myRoomsId, items)
|
||||
.then(async (res) => {
|
||||
const lastResult = res && res[res.length - 1];
|
||||
@ -1062,7 +1067,10 @@ class FilesActionStore {
|
||||
setTimeout(() => clearSecondaryProgressData(), TIMEOUT);
|
||||
return toastr.error(err.message ? err.message : err);
|
||||
})
|
||||
.finally(() => clearActiveOperations(null, items));
|
||||
.finally(() => {
|
||||
clearActiveOperations(null, items);
|
||||
this.setGroupMenuBlocked(false);
|
||||
});
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user