Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: granularity payload bug #867

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function DashboardCostExplorerCard({
});

return (
<div className="w-full rounded-lg bg-white py-4 px-6 pb-6">
<div className=" -mx-6 flex flex-wrap items-center justify-between gap-4 border-b border-black-200/40 px-6 pb-4">
<div className="w-full rounded-lg bg-white px-6 py-4 pb-6">
<div className="-mx-6 flex flex-wrap items-center justify-between gap-4 border-b border-black-200/40 px-6 pb-4">
<div>
<p className="text-sm font-semibold text-black-900">Cost explorer</p>
<div className="mt-1"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function useCostExplorer() {
[startDate, endDate] = lastTwelveMonths;
}

const granularity = newGranularity.toUpperCase();
const granularity = queryGranularity.toUpperCase();
const payload = {
group: queryGroup,
granularity,
Expand Down