Remodel of Profile System

Added isCompany to Customers
changes in workingtimes.vue
This commit is contained in:
2024-03-17 11:01:19 +01:00
parent 874ff01551
commit aef8cce755
16 changed files with 349 additions and 168 deletions

View File

@@ -59,6 +59,8 @@
<script setup>
import {useSearch} from "~/composables/useSearch.js";
definePageMeta({
middleware: "auth"
})
@@ -124,7 +126,7 @@ const columns = computed(() => templateColumns.filter((column) => selectedColumn
const searchString = ref('')
const filteredRows = computed(() => {
/*const filteredRows = computed(() => {
if(!searchString.value) {
return dataStore.contacts
}
@@ -134,7 +136,12 @@ const filteredRows = computed(() => {
return String(value).toLowerCase().includes(searchString.value.toLowerCase())
})
})
})*/
const filteredRows = computed(() => {
return useSearch(searchString.value, dataStore.contacts)
})
</script>
<style scoped>