diff options
Diffstat (limited to 'src/frontend/views/Repository.vue')
-rw-r--r-- | src/frontend/views/Repository.vue | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/frontend/views/Repository.vue b/src/frontend/views/Repository.vue deleted file mode 100644 index 8863529..0000000 --- a/src/frontend/views/Repository.vue +++ /dev/null @@ -1,29 +0,0 @@ -<template> - <RepositoryHeader :repository="repository" /> - <router-view :repository="repository" /> -</template> - -<script> -import RepositoryHeader from "../components/RepositoryHeader"; - -export default { - name: "Repository", - components: { - RepositoryHeader - }, - props: { - repository: { - type: String, - required: true - } - }, - created() - { - if(/^\/[a-zA-Z0-9.\-_]+[/]?$/.test(window.location.pathname)) { - this.$router.push({ path: `${window.location.pathname}${( window.location.pathname.endsWith("/") ) ? "log" : "/log"}`, replace: true}); - } - - console.log(this.repository); - } -} -</script>
\ No newline at end of file |