| 1 | <template> |
| 2 | <div class="page"> |
| 3 | <SocUsersList :highlight /> |
| 4 | </div> |
| 5 | </template> |
| 6 | |
| 7 | <script setup lang="ts"> |
| 8 | import { onBeforeMount, ref } from "vue" |
| 9 | import { useRoute } from "vue-router" |
| 10 | import SocUsersList from "@/components/soc/SocUsers/SocUsersList.vue" |
| 11 | |
| 12 | const route = useRoute() |
| 13 | |
| 14 | const highlight = ref<string | undefined>(undefined) |
| 15 | |
| 16 | onBeforeMount(() => { |
| 17 | if (route.query?.user_id) { |
| 18 | highlight.value = route.query.user_id.toString() |
| 19 | } |
| 20 | }) |
| 21 | </script> |