Skip to content

Commit

Permalink
Merge pull request #100 from ElemarJR/fixing_bugs_jan_2025
Browse files Browse the repository at this point in the history
Fixing bugs jan 2025
  • Loading branch information
ElemarJR authored Jan 10, 2025
2 parents ec7d693 + 13b71e4 commit 86df125
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ src/flask_session/
nb/cache/
src/cache/


frontend/yarn.lock
# Uncomment if you're using Poetry
# poetry.lock
Expand All @@ -115,3 +116,15 @@ frontend/yarn.lock
# Uncomment if you're using PDM
# pdm.lock
# .pdm.toml
ts_2024/abr_2024.timesheet
ts_2024/ago_2024.timesheet
ts_2024/dez_2024.timesheet
ts_2024/fev_2024.timesheet
ts_2024/jan_2024.timesheet
ts_2024/jul_2024.timesheet
ts_2024/jun_2024.timesheet
ts_2024/mai_2024.timesheet
ts_2024/mar_2024.timesheet
ts_2024/nov_2024.timesheet
ts_2024/out_2024.timesheet
ts_2024/set_2024.timesheet
3 changes: 3 additions & 0 deletions backend/models/src/omni_models/syntactic/pipedrive/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def _fetch_all(self, entity, params=None):
data = self.__fetch(entity, start, params)
if data is None or 'data' not in data:
break
if data['data'] is None:
break

all_data.extend(data['data'])

if not self.__has_next_page(data):
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/about-us/deals/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default function DealsPage() {
acc.push({ clientName, deals: [deal] });
}
return acc;
}, []).sort((a, b) => a.clientName.localeCompare(b.clientName));
}, []).sort((a, b) => a.clientName?.localeCompare(b.clientName));
};

const groupedProspects = groupDeals(prospects);
Expand Down

0 comments on commit 86df125

Please sign in to comment.