update: query.

This commit is contained in:
Darshan
2025-12-20 19:25:53 +05:30
parent 2271b9a9f2
commit 51eb30b7d4
2 changed files with 4 additions and 2 deletions
@@ -9,7 +9,9 @@ export const load: PageLoad = async ({ depends, params, parent }) => {
depends(Dependencies.ORGANIZATION);
const [projects, invoices] = await Promise.all([
sdk.forConsole.projects.list({ queries: [Query.equal('teamId', params.organization)] }),
sdk.forConsole.projects.list({
queries: [Query.equal('teamId', params.organization), Query.select(['$id', 'name'])]
}),
isCloud ? sdk.forConsole.billing.listInvoices(params.organization) : undefined
]);
@@ -19,8 +19,8 @@
export let showDelete = false;
export let invoices: InvoiceList;
let error: string = null;
let error: string = null;
let selectedTab = 'projects';
let organizationName: string = null;
let estimation: EstimationDeleteOrganization;