速度速度
This commit is contained in:
parent
657bfbc6df
commit
1764fbdb88
|
@ -142,7 +142,7 @@ const WikiEdit = Loadable({
|
||||||
function checkPathname(projectsId, owner, pathname) {
|
function checkPathname(projectsId, owner, pathname) {
|
||||||
let name = "";
|
let name = "";
|
||||||
if (pathname && pathname !== `/${owner}/${projectsId}`) {
|
if (pathname && pathname !== `/${owner}/${projectsId}`) {
|
||||||
let url = pathname.split(`/${owner}/${projectsId}`)[1];
|
let url = pathname.split(`/${owner}/${projectsId}`)[1] || '';
|
||||||
if (url.indexOf("/about") > -1) {
|
if (url.indexOf("/about") > -1) {
|
||||||
name = "about"
|
name = "about"
|
||||||
} else if (url.indexOf("/issues") > -1 || url.indexOf("Milepost") > 0) {
|
} else if (url.indexOf("/issues") > -1 || url.indexOf("Milepost") > 0) {
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
import Detail from "./Detail";
|
||||||
|
import { SnackbarHOC } from "educoder";
|
||||||
|
import { CNotificationHOC } from "../../modules/courses/common/CNotificationHOC";
|
||||||
|
import { TPMIndexHOC } from "../../modules/tpm/TPMIndexHOC";
|
||||||
|
|
||||||
|
export default CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(Detail)));
|
Loading…
Reference in New Issue