diff --git a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js index c8cece9fd..16c7d43c3 100644 --- a/public/react/src/modules/paths/PathDetail/PathDetailIndex.js +++ b/public/react/src/modules/paths/PathDetail/PathDetailIndex.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import {getImageUrl,markdownToHTML} from 'educoder'; +import {getImageUrl,markdownToHTML, configShareForCustom} from 'educoder'; import DetailTop from './DetailTop.js'; import DetailCards from './DetailCards.js' import AddCollaborators from "./addCollaborators.js"; @@ -164,6 +164,7 @@ class PathDetailIndex extends Component{ // window.location.href = "/403"; return; } + configShareForCustom(result.data.name, result.data.description) if(result.data.allow_visit===true){ this.setState({