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(ui): show Redeploy label for running applications

Andras Bacsaic30e47dc1232
diff --git a/resources/views/livewire/project/application/heading.blade.php b/resources/views/livewire/project/application/heading.blade.php
index c7b906d23a..313606f3a1 100644
--- a/resources/views/livewire/project/application/heading.blade.php
+++ b/resources/views/livewire/project/application/heading.blade.php
@@ -58,13 +58,13 @@
@else
<x-slot:main wire:click="deploy">
<x-reicon name="refresh" class="size-3.5" />
- Deploy
+ Redeploy
</x-slot:main>
<button type="button" class="listbox-option justify-start! gap-2.5!"
wire:click="{{ str($application->status)->startsWith('running') ? 'force_deploy_without_cache' : 'deploy(true)' }}"
@click="open = false" role="menuitem">
<x-reicon name="refresh" class="size-3.5 opacity-70" />
- Deploy (without cache)
+ Redeploy (without cache)
</button>
@if ($application->build_pack !== 'dockercompose')
<button type="button" class="listbox-option justify-start! gap-2.5!"
@@ -165,13 +165,13 @@
@else
<x-slot:main wire:click="deploy">
<x-reicon name="refresh" class="size-3.5" />
- Deploy
+ Redeploy
</x-slot:main>
<button type="button" class="listbox-option justify-start! gap-2.5!"
wire:click="{{ str($application->status)->startsWith('running') ? 'force_deploy_without_cache' : 'deploy(true)' }}"
@click="open = false" role="menuitem">
<x-reicon name="refresh" class="size-3.5 opacity-70" />
- Deploy (without cache)
+ Redeploy (without cache)
</button>
@if ($application->build_pack !== 'dockercompose')
<button type="button" class="listbox-option justify-start! gap-2.5!"