🐛 Replacing folder URL with config
This commit is contained in:
parent
1db13b6cfe
commit
370ade12ae
@ -8,6 +8,7 @@ import Notifications from "./Notifications";
|
||||
import Profile from "./Profile";
|
||||
import BurgerMenu from "./BurgerMenu";
|
||||
import WindowStore from "@Front/Stores/WindowStore";
|
||||
import Module from "@Front/Config/Module";
|
||||
|
||||
enum EHeaderOpeningState {
|
||||
OPEN = "open",
|
||||
@ -49,7 +50,7 @@ export default class Header extends React.Component<IProps, IState> {
|
||||
return (
|
||||
<div className={classes["root"]} data-open={this.state.open}>
|
||||
<div className={classes["logo-container"]}>
|
||||
<Link href="/">
|
||||
<Link href={Module.getInstance().get().modules.pages.Folder.props.path}>
|
||||
<Image src={LogoIcon} alt="logo" className={classes["logo"]} />
|
||||
</Link>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user