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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: Return own and other sources better
Andras Bacsaibb0c93dc2fe5
diff --git a/src/routes/applications/[id]/configuration/source.svelte b/src/routes/applications/[id]/configuration/source.svelteindex e5c05ebdd5..2f23de4d8c 100644--- a/src/routes/applications/[id]/configuration/source.svelte+++ b/src/routes/applications/[id]/configuration/source.svelte@@ -46,15 +46,12 @@(source.type === 'github' && source.githubAppId && source.githubApp.installationId) ||(source.type === 'gitlab' && source.gitlabAppId));+ console.log(filteredSources);const ownSources = filteredSources.filter((source) => {- if (source.teams[0].id === $session.teamId) {- return source;- }+ return source.teams.filter((team) => team.id === $session.teamId);});const otherSources = filteredSources.filter((source) => {- if (source.teams[0].id !== $session.teamId) {- return source;- }+ return source.teams.filter((team) => team.id !== $session.teamId);});async function handleSubmit(gitSourceId) {