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