Skip to content

Commit

Permalink
Bug fix: Indicators in the quota usage popup do not update for trial …
Browse files Browse the repository at this point in the history
…plans
  • Loading branch information
Nicola Lanzilotto committed Jul 25, 2024
1 parent 4dd1c5d commit 5d4db20
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/app/services/quotes.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,14 @@ export class QuotesService {
return limits;
} else {
limits = PLANS_LIST.FREE_TRIAL;
return limits;
// return limits;
if (project.profile.quotes) {
let profile_quotes = project?.profile?.quotes;
const merged_quotes = Object.assign({}, limits, profile_quotes);
return merged_quotes;
} else {
return limits;
}
}
}
}
Expand Down

0 comments on commit 5d4db20

Please sign in to comment.