Онлайн правое меню

This commit is contained in:
iriska-gri committed 2024-01-23 10:54:51 +03:00
1 parent 19f5d34747
commit 608b01121d
1 file changed
+13 -5
+13 -5
View File
@@ -4,7 +4,8 @@
variant="text"
v-for="x in onlineuser"
:key="x"
class="my-1"
height="50"
>
<v-avatar
size="36px"
@@ -32,6 +33,7 @@ import {checkremote} from '@/utils/universal_functions'
import InfoUserCard from './UI/infoUserCard.vue'
export default {
components: { InfoUserCard},
setup(){
@@ -45,6 +47,7 @@ export default {
}}
const accountStore = useAccountStore()
let onlineuser= ref([])
const connect = new WebSocket(baseWS+"ws/watcher/?token="+localStorage.access)
const whatuser=(x)=> {
@@ -63,10 +66,15 @@ export default {
}
})
return {loging,open, onlineuser, checkremote,spravURL, whatuser, accountStore}
return {
loging,
open,
onlineuser,
checkremote,
spravURL,
whatuser,
accountStore
}
}
}