diff --git a/src/layouts/ChatsLayout/components/FlowsTrigger/index.vue b/src/layouts/ChatsLayout/components/FlowsTrigger/index.vue index 5cfd96f8..e0710c6c 100644 --- a/src/layouts/ChatsLayout/components/FlowsTrigger/index.vue +++ b/src/layouts/ChatsLayout/components/FlowsTrigger/index.vue @@ -363,7 +363,9 @@ export default { this.isContactsLoading = true; try { const response = await FlowsAPI.getContacts(this.searchUrn); - this.listOfContacts = this.listOfContacts.concat(response.data.results || []); + this.listOfContacts = this.listOfContacts.concat( + response.data.results || [], + ); this.hasNext = response.next; this.listOfContacts.sort((a, b) => a.name?.localeCompare(b.name)); diff --git a/src/services/api/resources/settings/sector.js b/src/services/api/resources/settings/sector.js index c1d4a056..bc349a2f 100644 --- a/src/services/api/resources/settings/sector.js +++ b/src/services/api/resources/settings/sector.js @@ -58,7 +58,9 @@ export default { async deleteSector(sectorUuid) { const { me } = Profile.state; - const response = await http.delete(`/sector/${sectorUuid}/?user=${me?.email}`); + const response = await http.delete( + `/sector/${sectorUuid}/?user=${me?.email}`, + ); return response.data; }, diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index 67c7ed5c..0a7c6e53 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -27,7 +27,9 @@ const module = { state.sectors.splice(index, 1, sector); }, deleteSector(state, sectorUuid) { - state.sectors = state.sectors.filter((sector) => sector.uuid !== sectorUuid); + state.sectors = state.sectors.filter( + (sector) => sector.uuid !== sectorUuid, + ); }, },