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.

Merge branch 'next' into remove-local-volume-source

Andras Bacsaie62a2d45a036
diff --cc app/Livewire/Project/Shared/Storages/Show.php
index e904761955,7e1e2dec1d..8acdbcb6e4
--- a/app/Livewire/Project/Shared/Storages/Show.php
+++ b/app/Livewire/Project/Shared/Storages/Show.php
@@@ -87,14 -193,8 +193,17 @@@ class Show extends Componen
$this->storage->delete();
$this->dispatch('refreshStorages');
+ $this->dispatch('configurationChanged');
+
+ return true;
}
+
+ public function clearHostPath()
+ {
+ $this->authorize('update', $this->resource);
+ $this->hostPath = null;
+ $this->storage->host_path = null;
+ $this->storage->save();
+ $this->dispatch('success', 'Source path removed. Use Directory Mount for host directory bindings.');
+ }
}