summaryrefslogtreecommitdiffstats
path: root/src/services/CommandsService.js
blob: 01a758e2dce8776c2a19b640c3478e6291ffe891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import AuthService from "./AuthService"
import store from "@/store/index.js"
import router from '@/router/index.js'

export default {
    groups() {
        return {
            send(searcher) {console.log(searcher)},

            make(searcher) {
                searcher.$emit('toogle_group_maker')
            },
        }
    },

    logout() {
        AuthService.logout()
        store.dispatch('logout')
        router.push('/login')
    },
}