Skip to content

Commit

Permalink
Remove footer from error page
Browse files Browse the repository at this point in the history
  • Loading branch information
wryonik committed May 25, 2020
1 parent ab8ea49 commit 2104997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="font-sans" id="app">
<TopNavbar />
<router-view />
<Footer />
<Footer v-if="!$route.meta.hideFooter" />
</div>
</template>

Expand Down
3 changes: 2 additions & 1 deletion frontend/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const router = new Router({
name: "error404",
component: () => import("./views/Error404.vue"),
meta: {
title: "SDSLabs | Error"
title: "SDSLabs | Error",
hideFooter: true
}
}
]
Expand Down

0 comments on commit 2104997

Please sign in to comment.