Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: do not get status of more than 10 resources defined by category

Andras Bacsai5c69ff33390c
diff --git a/apps/ui/src/routes/index.svelte b/apps/ui/src/routes/index.svelte
index b8e2fa2f72..03584247a2 100644
--- a/apps/ui/src/routes/index.svelte
+++ b/apps/ui/src/routes/index.svelte
@@ -127,15 +127,15 @@
async function getStatus(resources: any, force: boolean = false) {
const { id, buildPack, dualCerts, type } = resources;
- if (buildPack && applications.length > 10 && !force) {
+ if (buildPack && applications.length + filtered.otherApplications.length > 10 && !force) {
noInitialStatus.applications = true;
return;
}
- if (type && services.length > 10 && !force) {
+ if (type && services.length + filtered.otherServices.length > 10 && !force) {
noInitialStatus.services = true;
return;
}
- if (databases.length > 10 && !force) {
+ if (databases.length + filtered.otherDatabases.length > 10 && !force) {
noInitialStatus.databases = true;
return;
}