mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-12-24 13:17:45 -06:00
add chatwoot auto_create and profile photo
This commit is contained in:
@@ -123,6 +123,13 @@ export const useAppStore = defineStore('app', {
|
||||
this.instancesList[index].instance.status = status
|
||||
},
|
||||
|
||||
setPhoto(instanceName, photo) {
|
||||
const index = this.instancesList.findIndex(
|
||||
(instance) => instance.instance.instanceName === instanceName
|
||||
)
|
||||
if (index !== -1) this.instancesList[index].instance.profilePictureUrl = photo
|
||||
},
|
||||
|
||||
addInstanceKey({ instance, key }) {
|
||||
this.instancesKeys[instance] = key
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user