feat: add repo_url to app data and update frontend to conditionally display Git Pull button
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
4be4ae4144
commit
f173246581
3 changed files with 4 additions and 2 deletions
|
|
@ -535,7 +535,7 @@ function renderAppCard(app) {
|
|||
<button class="btn-sm btn-primary" data-action="deploy" data-app="${app.name}">Deploy</button>
|
||||
<button class="btn-sm" data-action="restart" data-app="${app.name}">Restart</button>
|
||||
<button class="btn-sm" data-action="stop" data-app="${app.name}">Stop</button>
|
||||
<button class="btn-sm" data-action="repo-pull" data-app="${app.name}">Git Pull</button>
|
||||
${app.repo_url ? `<button class="btn-sm" data-action="repo-pull" data-app="${app.name}">Git Pull</button>` : ""}
|
||||
<button class="btn-sm btn-danger" data-action="remove" data-app="${app.name}">Remove</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue