You've already forked AstralRinth
forked from didirus/AstralRinth
Fix broken dashboard (#1328)
This commit is contained in:
@@ -39,7 +39,11 @@ export const getProjectLink = (project) => {
|
||||
}
|
||||
|
||||
export const getVersionLink = (project, version) => {
|
||||
return getProjectLink(project) + '/version/' + version.id
|
||||
if (version) {
|
||||
return getProjectLink(project) + '/version/' + version.id
|
||||
} else {
|
||||
return getProjectLink(project)
|
||||
}
|
||||
}
|
||||
|
||||
export const isApproved = (project) => {
|
||||
|
||||
Reference in New Issue
Block a user