File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 12
12
"first_name" : " Janette" ,
13
13
"last_name" : " Kereluk" ,
14
14
"email" : " boomhandmade@live.com" ,
15
- "status" : false
15
+ "status" : true
16
16
},
17
17
{
18
18
"id" : " 8d1c1c46-9b97-45e0-a8fb-68a0785ad05b" ,
153
153
"last_name" : " Heisenberg" ,
154
154
"email" : " werner@heisenberg.de" ,
155
155
"status" : true
156
+ },
157
+ {
158
+ "id" : " acafdb3c-699c-4f9a-a9e5-cefb739383c6" ,
159
+ "first_name" : " Niels" ,
160
+ "last_name" : " Bohr" ,
161
+ "email" : " niels@bohr.com" ,
162
+ "status" : true
156
163
}
157
164
]
158
165
}
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
// Consts & imports
3
3
const isOpen = ref (false )
4
+ const route = useRoute ()
5
+
4
6
const colorMode = useColorMode ()
5
7
const colorModeButtonLabel = ref (' Enable Light Mode' )
6
- const route = useRoute ()
7
8
const capitalizeFirstLetter = (string : string ) =>
8
9
string .charAt (0 ).toUpperCase () + string .slice (1 )
9
10
@@ -116,7 +117,11 @@ const navigation = [
116
117
</template >
117
118
118
119
<!-- Main Navigation Items -->
119
- <UVerticalNavigation :links =" navigation" :ui =" { base: 'gap-4' }" />
120
+ <UVerticalNavigation
121
+ :links =" navigation"
122
+ :ui =" { base: 'gap-4' }"
123
+ @click =" () => (isOpen = false)"
124
+ />
120
125
<template #footer >
121
126
<div class =" flex items-center justify-between" >
122
127
<UButton variant =" outline" >Logout</UButton >
Original file line number Diff line number Diff line change 1
1
<script lang="ts" setup>
2
- import { v4 as uuidv4 } from ' uuid'
2
+ import { v4 as uuidv4 } from ' uuid' // needs to get typed
3
3
import type { Customer } from ' @/models/customers'
4
4
const customerStore = useCustomerStore ()
5
5
You can’t perform that action at this time.
0 commit comments