mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-12-24 05:07:44 -06:00
Add Portuguese documentation link and logout button
This commit is contained in:
@@ -74,6 +74,17 @@ export const useAppStore = defineStore('app', {
|
||||
throw e.response?.data?.response?.message || e.response || e
|
||||
}
|
||||
},
|
||||
async logout() {
|
||||
this.connection = {
|
||||
valid: false,
|
||||
host: null,
|
||||
globalApiKey: null,
|
||||
}
|
||||
this.instancesList = []
|
||||
this.instancesKeys = {}
|
||||
this.connectionsList = []
|
||||
window.localStorage.clear();
|
||||
},
|
||||
|
||||
async reconnect() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user