Merge branch 'dev' into staging
This commit is contained in:
commit
d3ae82f245
@ -12,6 +12,7 @@ import { NextRouter, useRouter } from "next/router";
|
|||||||
import BasePage from "../../Base";
|
import BasePage from "../../Base";
|
||||||
import classes from "./classes.module.scss";
|
import classes from "./classes.module.scss";
|
||||||
import ClientSection from "./ClientSection";
|
import ClientSection from "./ClientSection";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
type IProps = {};
|
type IProps = {};
|
||||||
|
|
||||||
@ -40,6 +41,9 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
|
|||||||
// TODO: Message if the user has not created any folder yet
|
// TODO: Message if the user has not created any folder yet
|
||||||
// TODO: get the selected folder from the api in componentDidMount
|
// TODO: get the selected folder from the api in componentDidMount
|
||||||
public override render(): JSX.Element {
|
public override render(): JSX.Element {
|
||||||
|
const redirectPathEditCollaborators = Module.getInstance()
|
||||||
|
.get()
|
||||||
|
.modules.pages.Folder.pages.EditCollaborators.props.path.replace("[folderUid]", this.props.selectedFolderUid);
|
||||||
return (
|
return (
|
||||||
<DefaultNotaryDashboard title={"Dossier"} onSelectedFolder={this.onSelectedFolder} isArchived={true}>
|
<DefaultNotaryDashboard title={"Dossier"} onSelectedFolder={this.onSelectedFolder} isArchived={true}>
|
||||||
<div className={classes["root"]}>
|
<div className={classes["root"]}>
|
||||||
@ -50,9 +54,11 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
|
|||||||
<div className={classes["title"]}>
|
<div className={classes["title"]}>
|
||||||
<Typography typo={ITypo.H1Bis}>Informations du dossier</Typography>
|
<Typography typo={ITypo.H1Bis}>Informations du dossier</Typography>
|
||||||
</div>
|
</div>
|
||||||
<Button variant={EButtonVariant.LINE} icon={ChevronIcon}>
|
<Link href={redirectPathEditCollaborators}>
|
||||||
Modifier les collaborateurs
|
<Button variant={EButtonVariant.LINE} icon={ChevronIcon}>
|
||||||
</Button>
|
Modifier les collaborateurs
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<FolderBoxInformation
|
<FolderBoxInformation
|
||||||
folder={this.state.selectedFolder}
|
folder={this.state.selectedFolder}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user