Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldemylla committed Mar 27, 2024
1 parent cc9f376 commit 2eef367
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/layouts/ChatsLayout/components/FlowsTrigger/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
4 changes: 3 additions & 1 deletion src/services/api/resources/settings/sector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},

Expand Down
4 changes: 3 additions & 1 deletion src/store/modules/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
},
},

Expand Down

0 comments on commit 2eef367

Please sign in to comment.