🐛 Small bug fixes

This commit is contained in:
Maxime Lalo 2023-05-04 13:29:51 +02:00
parent 5b87927a12
commit 7eeb866db0
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
const folder = this.state.selectedFolder; const folder = this.state.selectedFolder;
folder.archived_description = null; folder.archived_description = null;
await Folders.getInstance().restore(this.state.selectedFolder.uid ?? "", folder); await Folders.getInstance().restore(this.state.selectedFolder.uid ?? "", folder);
this.props.router.push(Module.getInstance().get().modules.pages.Folder.pages.FolderArchived.props.path); this.props.router.push(Module.getInstance().get().modules.pages.Folder.pages.FolderInformation.props.path.replace("[folderUid]", this.props.selectedFolderUid));
} }
private openArchivedModal(): void { private openArchivedModal(): void {

View File

@ -1,5 +1,5 @@
import Home from "@Front/Components/Layouts/Home"; import Login from "@Front/Components/Layouts/Login";
export default function Route() { export default function Route() {
return <Home />; return <Login />;
} }