mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: filter, creation method
This commit is contained in:
1 parent
bbcb158348
commit
5c07b5ce0e
6 files changed
+8
-9
No files matched your search
+2
-2
@@ -50,9 +50,9 @@
|
||||
let statusFilter = buildFilterCol(statusCol);
|
||||
const typeCol = $columns.find((col) => col.id === 'type');
|
||||
let typeFilter = buildFilterCol(typeCol);
|
||||
const sizeCol = $columns.find((col) => col.id === 'size');
|
||||
const sizeCol = $columns.find((col) => col.id === 'sourceSize');
|
||||
let sizeFilter = buildFilterCol(sizeCol);
|
||||
const buildTimeCol = $columns.find((col) => col.id === 'buildTime');
|
||||
const buildTimeCol = $columns.find((col) => col.id === 'buildDuration');
|
||||
let buildTimeFilter = buildFilterCol(buildTimeCol);
|
||||
|
||||
let localQueries = new Map<TagValue, string>();
|
||||
|
||||
@@ -15,8 +15,7 @@ export const load: PageLoad = async ({ url }) => {
|
||||
Query.equal('type', RuleType.DEPLOYMENT),
|
||||
Query.equal('deploymentResourceType', DeploymentResourceType.SITE),
|
||||
Query.equal('deploymentResourceId', siteId),
|
||||
Query.equal('deploymentId', deploymentId),
|
||||
Query.limit(1)
|
||||
Query.equal('deploymentId', deploymentId)
|
||||
])
|
||||
]);
|
||||
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@
|
||||
outputDirectory,
|
||||
framework.adapters[Object.keys(framework.adapters)[0]].key, //TODO: fix this
|
||||
data.installation.$id,
|
||||
null,
|
||||
undefined,
|
||||
data.repository.id,
|
||||
branch,
|
||||
silentMode,
|
||||
|
||||
+1
-1
@@ -121,7 +121,7 @@
|
||||
framework.outputDirectory,
|
||||
framework.adapter as unknown as Adapter,
|
||||
connectBehaviour === 'later' ? undefined : selectedInstallationId || undefined,
|
||||
framework.fallbackFile,
|
||||
framework?.fallbackFile || undefined,
|
||||
selectedRepository || undefined,
|
||||
branch || undefined,
|
||||
selectedRepository ? silentMode : undefined,
|
||||
|
||||
@@ -13,7 +13,7 @@ export const load = async ({ params, depends, parent }) => {
|
||||
sdk.forProject.sites.listDeployments(params.site, [Query.limit(4), Query.orderDesc('')]),
|
||||
sdk.forProject.sites.listDeployments(params.site, [
|
||||
Query.equal('status', 'ready'),
|
||||
Query.equal('active', true)
|
||||
Query.equal('activate', true)
|
||||
]),
|
||||
sdk.forProject.proxy.listRules([
|
||||
Query.equal('type', RuleType.DEPLOYMENT),
|
||||
|
||||
+2
-2
@@ -50,9 +50,9 @@
|
||||
let statusFilter = buildFilterCol(statusCol);
|
||||
const typeCol = $columns.find((col) => col.id === 'type');
|
||||
let typeFilter = buildFilterCol(typeCol);
|
||||
const sizeCol = $columns.find((col) => col.id === 'size');
|
||||
const sizeCol = $columns.find((col) => col.id === 'sourceSize');
|
||||
let sizeFilter = buildFilterCol(sizeCol);
|
||||
const buildTimeCol = $columns.find((col) => col.id === 'buildTime');
|
||||
const buildTimeCol = $columns.find((col) => col.id === 'buildDuration');
|
||||
let buildTimeFilter = buildFilterCol(buildTimeCol);
|
||||
|
||||
let localQueries = new Map<TagValue, string>();
|
||||
|
||||
Reference in new issue
Block a user