Skip to content

Commit

Permalink
fixup! feat(web) #74
Browse files Browse the repository at this point in the history
  • Loading branch information
fliiiix committed Aug 7, 2022
1 parent 31b615c commit f722170
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Project.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>

<md-card class = "project-card">
<md-card class="project-card">
<router-link :to="`/${project}/${latestVersion}`">
<md-card-header>
<md-avatar :class="{ hidden: hideAvatar }">
Expand Down
1 change: 0 additions & 1 deletion web/src/components/ProjectOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
</div>
<Help v-if="!projects.length" />
</div>

</template>

<script>
Expand Down
6 changes: 3 additions & 3 deletions web/src/repositories/ProjectRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
},

/**
* Returns the project documentatino URL
* Returns the project documentation URL
* @param {string} projectName Name of the project
* @param {string} version Version name
* @param {string?} docsPath Path to the documentation page
Expand All @@ -47,7 +47,7 @@ export default {
},

/**
* Returns the docs path only without the prefix, porject and version
* Returns the docs path only without the prefix, project and version
* @param {string} projectName Name of the project
* @param {string} version Version name
* @param {string} fullDocsPath Full path to the docs including prefix, project and version
Expand Down Expand Up @@ -139,7 +139,7 @@ export default {

/**
* Returns boolean indicating if the project name is part of the favourites.
* @param {string} projectName name of the prject
* @param {string} projectName name of the project
* @returns bool - true is project is favourite
*/
isFavourite(projectName) {
Expand Down
4 changes: 3 additions & 1 deletion web/tests/unit/project-component.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ const wrapper = shallowMount(Project, {
'router-link': true,
'md-card': true,
'md-card-header': true,
'md-avatar': true
'md-avatar': true,
'md-button': true,
'md-icon': true
}
})

Expand Down

0 comments on commit f722170

Please sign in to comment.