fixes
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
<x-collapsible>
|
||||
<x-slot:title>
|
||||
<div>{{ $fileStorage->mount_path }}
|
||||
@if (is_null($fileStorage->content) && !$fileStorage->is_directory)
|
||||
<span class="text-xs text-error">(required)</span>
|
||||
@endif
|
||||
</div>
|
||||
<div>{{ $fileStorage->mount_path }} </div>
|
||||
</x-slot:title>
|
||||
<x-slot:action>
|
||||
<form wire:submit.prevent='submit' class="flex flex-col gap-2">
|
||||
<div class="w-64">
|
||||
<x-forms.checkbox instantSave label="Is directory?" id="fileStorage.is_directory"></x-forms.checkbox>
|
||||
</div>
|
||||
|
||||
@if ($fileStorage->is_directory)
|
||||
<x-forms.input readonly label="Directory on Filesystem (save files here)" id="fs_path"></x-forms.input>
|
||||
@else
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
@click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
|
||||
<a :class="activeTab === 'storages' && 'text-white'"
|
||||
@click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
|
||||
@if ($serviceApplication?->configurationRequired() || $serviceDatabase?->configurationRequired())
|
||||
<span class="text-red-500">(?)</span>
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
<div class="w-full pl-8">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage" />
|
||||
@endif
|
||||
@empty
|
||||
<div class="text-neutral-500">No storages found.</div>
|
||||
<div class="text-neutral-500">No volume storages found.</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user