Implemented the calendar view for opportunities
This commit is contained in:
@@ -25,6 +25,7 @@ function createOpportunitiesTable({
|
||||
renderOwnerFilter,
|
||||
renderActivityFilters,
|
||||
renderStageDashboard,
|
||||
renderCalendar,
|
||||
resetCustomerFilter,
|
||||
resetOwnerFilter,
|
||||
environment
|
||||
@@ -102,6 +103,7 @@ function createOpportunitiesTable({
|
||||
const tableBody = document.createElement("tbody");
|
||||
const items = getSortedOpportunities();
|
||||
renderStageDashboard(items, opportunitiesTableState.opportunitiesTableState.items.length);
|
||||
renderCalendar?.(items, opportunitiesTableState.opportunitiesTableState);
|
||||
|
||||
if (opportunitiesTableState.opportunitiesTableState.status === "loading" || opportunitiesTableState.opportunitiesTableState.status === "error" || opportunitiesTableState.opportunitiesTableState.status === "empty" || (opportunitiesTableState.opportunitiesTableState.status === "ready" && items.length === 0)) {
|
||||
const row = document.createElement("tr");
|
||||
|
||||
Reference in New Issue
Block a user