aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/views
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-05-28 17:27:29 +0200
committerHampusM <hampus@hampusmat.com>2021-05-28 17:27:29 +0200
commit06f028bf5aefba7d93a7a00373ea820f4537bfd3 (patch)
treeed61bf00c5150d22c76d7226557bfb1e31228c99 /src/frontend/views
parentbdfc5d2d092fdce8fb4149ae8acb86b63c14c642 (diff)
Added a clone-dropdown & made multiple small frontend improvements
Diffstat (limited to 'src/frontend/views')
-rw-r--r--src/frontend/views/Home.vue4
-rw-r--r--src/frontend/views/RepositoryCommit.vue2
-rw-r--r--src/frontend/views/RepositoryLog.vue2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/views/Home.vue b/src/frontend/views/Home.vue
index 9ee5c02..e3746c7 100644
--- a/src/frontend/views/Home.vue
+++ b/src/frontend/views/Home.vue
@@ -1,6 +1,6 @@
<template>
<HomeHeader />
- <div class="row mx-0 mt-5">
+ <div class="row mx-0">
<div id="projects-header" class="col ms-4">
<p class="fs-1">
Projects
@@ -43,7 +43,7 @@ export default {
},
setup()
{
- const state = reactive({ projects: Object, search: String });
+ const state = reactive({ projects: {}, search: "" });
watch(() =>
{
diff --git a/src/frontend/views/RepositoryCommit.vue b/src/frontend/views/RepositoryCommit.vue
index 9554de7..21ed12e 100644
--- a/src/frontend/views/RepositoryCommit.vue
+++ b/src/frontend/views/RepositoryCommit.vue
@@ -1,5 +1,5 @@
<template>
- <RepositoryNavbar active-page="log" />
+ <RepositoryNavbar active-page="log" :repository="repository" />
<div class="row mx-0">
<div class="col ms-2 ps-4 ps-sm-5 fs-5 vld-parent">
<nav aria-label="breadcrumb">
diff --git a/src/frontend/views/RepositoryLog.vue b/src/frontend/views/RepositoryLog.vue
index 42a9780..d9d1696 100644
--- a/src/frontend/views/RepositoryLog.vue
+++ b/src/frontend/views/RepositoryLog.vue
@@ -1,5 +1,5 @@
<template>
- <RepositoryNavbar active-page="log" />
+ <RepositoryNavbar active-page="log" :repository="repository" />
<div class="row mx-0 vld-parent">
<Loading
v-model:active="is_loading" :height="24"