Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar73a committed Jan 8, 2024
2 parents f41c3ea + 728b9db commit 0b6485a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/components/verleih/VerleihList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { mapState } from 'pinia';
import { defineComponent } from 'vue';
export default defineComponent({
name: "ProjectListView",
name: "VerleihListView",
computed: {
...mapState(useVerleihItemStore, {
verleihList: (store) => store.verleihItemList as Array<VerleihItem>,
Expand Down
2 changes: 1 addition & 1 deletion src/views/EventDetailView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div v-if="events">
<BBreadcrumb>
<BBreadcrumbItem to="/home"> Home </BBreadcrumbItem>
<BBreadcrumbItem to="/"> Home </BBreadcrumbItem>
<BBreadcrumbItem to="/event"> Events </BBreadcrumbItem>
<BBreadcrumbItem :to="'/event/' + events.id" active> {{ events.name }} </BBreadcrumbItem>
</BBreadcrumb>
Expand Down
21 changes: 8 additions & 13 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,14 @@ const entries = ref([ "test", '1234', '567'])
</script>

<template>
<BRow>
<BCol lg="3">
<FilterSidebar />
</BCol>
<BCol>
<BRow>
<SearchBar :searchQuery="searchQuery" @searchQuery="searchQuery = $event" />
<HomeContent :entries="entries" :foundEntry="searchQuery" />

</BRow>
</BCol>
</BRow>
<template>
<BContainer>
<!-- <BCol lg="3">
<FilterSidebar />
</BCol> -->
<SearchBar :searchQuery="searchQuery" @searchQuery="searchQuery = $event" />
<HomeContent :entries="entries" :foundEntry="searchQuery" />
</BContainer>
</template>

<style scoped>
Expand Down
2 changes: 1 addition & 1 deletion src/views/VerleihDetailView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div v-if="verleih">
<BBreadcrumb>
<BBreadcrumbItem to="/home"> Home </BBreadcrumbItem>
<BBreadcrumbItem to="/"> Home </BBreadcrumbItem>
<BBreadcrumbItem to="/verleih"> Verleihe </BBreadcrumbItem>
<BBreadcrumbItem :to="'/verleih/' + verleih.id" active> {{ verleih.name }} </BBreadcrumbItem>
</BBreadcrumb>
Expand Down
14 changes: 3 additions & 11 deletions src/views/VerleihListView.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
<script setup lang="ts">
// import Verleihlistcontent from '@/components/Verleihlistcontent.vue'
import FilterSidebar from '@/components/FilterSidebar.vue'
import SearchBar from '@/components/SearchBar.vue'
import type { BRow } from 'bootstrap-vue-next'
import { ref } from 'vue'
const searchQuery = ref('')
const entries = ref([ "test", '1234', '567'])
import VerleihList from '../components/verleih/VerleihList.vue'
</script>

<template>

<BContainer>
<BRow>
<BCol>
<!-- <BCol>
<FilterSidebar />
</BCol >
</BCol > -->
<!-- <BCol>
<SearchBar :searchQuery="searchQuery" @searchQuery="searchQuery = $event" />
</BCol> -->
Expand Down

0 comments on commit 0b6485a

Please sign in to comment.