Skip to content

Commit

Permalink
refactor(dashboard): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Dec 16, 2020
1 parent fce4c37 commit 62193ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dashboard/ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ export default Vue.extend({
footerIcons: [
{
icon: "mdi-github",
link: config.references.githubURL
link: config.links.githubURL
},
{
icon: "mdi-twitter",
link: config.references.twitterURL
link: config.links.twitterURL
},
{
icon: "mdi-web",
link: config.references.websiteURL
link: config.links.websiteURL
}
]
}),
Expand Down
2 changes: 1 addition & 1 deletion dashboard/ui/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
healthCheckDelaySeconds: 3,
ApiEndpoint: "/",
ApiPrefix: "api/proxy",
references: {
links: {
githubURL: "https://github.com/dreamvo",
twitterURL: "https://twitter.com/dreamvoapp",
websiteURL: "https://dreamvo.com/",
Expand Down
2 changes: 1 addition & 1 deletion dashboard/ui/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default new Vuex.Store({
const t1: number = Date.now();
const res: AxiosResponse | void = await axios
.get("/healthz")
.catch((err: Error) => {
.catch((/*err: Error*/) => {
context.commit("setHealthStatus", false);
context.commit("resetResponseTime");
});
Expand Down
2 changes: 1 addition & 1 deletion dashboard/ui/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ interface Data {
export default Vue.extend({
components: { MediaList, HealthGraph },
data: (): Data => ({
references: config.references
references: config.links
})
});
</script>
1 change: 0 additions & 1 deletion dashboard/ui/src/views/Medias.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<script lang="ts">
import { Vue } from "vue-property-decorator";
import MediaList from "../components/MediaList.vue";
import HealthGraph from "../components/HealthGraph.vue";
export default Vue.extend({
components: { MediaList },
Expand Down

0 comments on commit 62193ea

Please sign in to comment.