diff --git a/src/components/quota/quotaConfigs.ts b/src/components/quota/quotaConfigs.ts index d97f949..d5f81dd 100644 --- a/src/components/quota/quotaConfigs.ts +++ b/src/components/quota/quotaConfigs.ts @@ -341,7 +341,7 @@ const buildCodexQuotaWindows = ( const seconds = getWindowSeconds(window); if (seconds === FIVE_HOUR_SECONDS && !fiveHourWindow) { fiveHourWindow = window; - } else if (seconds === WEEK_SECONDS && !weeklyWindow) { + } else if ((seconds === WEEK_SECONDS || isMonthlyWindow(window)) && !weeklyWindow) { weeklyWindow = window; } }