🐛 Wrong path and wrong color view documents
This commit is contained in:
parent
70e1e4a7a4
commit
e0f985e817
@ -10,6 +10,7 @@ import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import RadioBox from "@Front/Components/DesignSystem/RadioBox";
|
||||
import MultiSelect from "@Front/Components/DesignSystem/MultiSelect";
|
||||
import Module from "@Front/Config/Module";
|
||||
|
||||
type IPropsClass = {
|
||||
selectedFolderUid: string;
|
||||
@ -35,7 +36,8 @@ class UpdateFolderCollaboratorsClass extends BasePage<IPropsClass, IState> {
|
||||
this.onSelectedOptionSpecific = this.onSelectedOptionSpecific.bind(this);
|
||||
}
|
||||
public override render(): JSX.Element {
|
||||
const backwardPath = "/folder/".concat(this.props.selectedFolderUid);
|
||||
const foldersInformationPath = Module.getInstance().get().modules.pages.Folder.pages.FolderInformation.props.path;
|
||||
const backwardPath = foldersInformationPath.replace("[folderUid]", this.props.selectedFolderUid);
|
||||
const selectOptions = [
|
||||
{ value: "adazzdsqaad", label: "John Doe" },
|
||||
{ value: "azdzafzad", label: "Jahn Doe" },
|
||||
|
@ -69,7 +69,7 @@ class ViewDocumentsClass extends BasePage<IPropsClass, IState> {
|
||||
<Typography typo={ITypo.H1} color={ITypoColor.BLACK} className={classes["title"]}>
|
||||
App 23 rue Torus Toulon
|
||||
</Typography>
|
||||
<Typography typo={ITypo.H3} color={ITypoColor.PURPLE_FLASH} className={classes["subtitle"]}>
|
||||
<Typography typo={ITypo.H3} color={ITypoColor.BLACK} className={classes["subtitle"]}>
|
||||
{this.state.selectedDocument.document_type.name}
|
||||
</Typography>
|
||||
<div className={classes["document-container"]}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user