diff --git a/app/Models/Application.php b/app/Models/Application.php index f4a50908a..c1e62fc22 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -114,8 +114,6 @@ class Application extends BaseModel protected $appends = ['server_status']; - protected $with = ['registry']; - protected static function booted() { static::saving(function ($application) { diff --git a/resources/views/livewire/images/registry/create.blade.php b/resources/views/livewire/images/registry/create.blade.php index e25d91343..204fb86b0 100644 --- a/resources/views/livewire/images/registry/create.blade.php +++ b/resources/views/livewire/images/registry/create.blade.php @@ -1,4 +1,4 @@ -
+ @@ -17,7 +17,7 @@ -
- Save Registry +
+ Save Registry
diff --git a/resources/views/livewire/images/registry/show.blade.php b/resources/views/livewire/images/registry/show.blade.php index 6f68d4b7d..33133d15b 100644 --- a/resources/views/livewire/images/registry/show.blade.php +++ b/resources/views/livewire/images/registry/show.blade.php @@ -1,7 +1,8 @@ -
+
-
-
+
+ +
Update
- - @foreach ($this->registryTypes as $key => $value) @endforeach - @if ($type === 'custom') - - @endif + - + + placeholder="Authentication token or password" required />
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index 1c7bc8bef..61c5cab70 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -144,23 +144,26 @@
@if ($application->build_pack === 'dockerimage') -
- -
+
+
+ +
- @if ($application->docker_use_custom_registry) -
- docker_use_custom_registry) + {{-- --}} @foreach ($registries as $registry) @endforeach -
- @endif + + @endif +
@endif
@endif