fix: show real storage name on services

This commit is contained in:
Andras Bacsai
2023-09-25 17:14:19 +02:00
parent 0b11093d18
commit ee20c3339e
4 changed files with 15 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
<a :class="activeTab === 'general' && 'text-white'"
@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="#">Persistent Storages
@click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
</a>
</div>
<div class="w-full pl-8">

View File

@@ -12,7 +12,7 @@
@endif
<form wire:submit.prevent='submit' class="flex flex-col gap-2 pt-4 xl:items-end xl:flex-row">
@if ($isReadOnly)
<x-forms.input id="storage.name" label="Name" required readonly />
<x-forms.input id="realName" label="Volume Name" required readonly />
<x-forms.input id="storage.host_path" label="Source Path" readonly />
<x-forms.input id="storage.mount_path" label="Destination Path" required readonly />
@else