Client: fix
This commit is contained in:
parent
5b5a5fe09b
commit
612fbbff4d
@ -126,7 +126,7 @@ class PublicRoomStore {
|
||||
if (filter) {
|
||||
const folderId = filter.folder;
|
||||
return fetchFiles(folderId, filter).catch((error) => {
|
||||
if (error.response.status === 403) {
|
||||
if (error?.response?.status === 403) {
|
||||
window.location.replace(
|
||||
combineUrl(window.ClientConfig?.proxy?.url, "/login"),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user