@@ -17,32 +17,32 @@ const {
1717} = useConnector ()
1818
1919// Teams data
20- const teams = ref <string []>([])
20+ const teams = shallowRef <string []>([])
2121const teamUsers = ref <Record <string , string []>>({})
22- const isLoadingTeams = ref (false )
22+ const isLoadingTeams = shallowRef (false )
2323const isLoadingUsers = ref <Record <string , boolean >>({})
24- const error = ref <string | null >(null )
24+ const error = shallowRef <string | null >(null )
2525
2626// Org members (to check if user needs to be added to org first)
27- const orgMembers = ref <Record <string , ' developer' | ' admin' | ' owner' >>({})
27+ const orgMembers = shallowRef <Record <string , ' developer' | ' admin' | ' owner' >>({})
2828
2929// Search/filter
30- const searchQuery = ref (' ' )
31- const sortBy = ref <' name' | ' members' >(' name' )
32- const sortOrder = ref <' asc' | ' desc' >(' asc' )
30+ const searchQuery = shallowRef (' ' )
31+ const sortBy = shallowRef <' name' | ' members' >(' name' )
32+ const sortOrder = shallowRef <' asc' | ' desc' >(' asc' )
3333
3434// Expanded teams (to show members)
3535const expandedTeams = ref <Set <string >>(new Set ())
3636
3737// Create team form
38- const showCreateTeam = ref (false )
39- const newTeamName = ref (' ' )
40- const isCreatingTeam = ref (false )
38+ const showCreateTeam = shallowRef (false )
39+ const newTeamName = shallowRef (' ' )
40+ const isCreatingTeam = shallowRef (false )
4141
4242// Add user form (per team)
43- const showAddUserFor = ref <string | null >(null )
44- const newUserUsername = ref (' ' )
45- const isAddingUser = ref (false )
43+ const showAddUserFor = shallowRef <string | null >(null )
44+ const newUserUsername = shallowRef (' ' )
45+ const isAddingUser = shallowRef (false )
4646
4747// Filtered and sorted teams
4848const filteredTeams = computed (() => {
0 commit comments