possible fix: vaultwarden
This commit is contained in:
parent
6f15cc2dbc
commit
9dfde11e35
@ -86,7 +86,7 @@
|
|||||||
readonly
|
readonly
|
||||||
class="w-full"
|
class="w-full"
|
||||||
value={`${
|
value={`${
|
||||||
services.find((s) => s.id === storage.containerId).name || storage.containerId
|
services.find((s) => s.id === storage.containerId)?.name || storage.containerId
|
||||||
}`}
|
}`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -111,19 +111,18 @@
|
|||||||
name="containerId"
|
name="containerId"
|
||||||
class="w-full lg:w-64"
|
class="w-full lg:w-64"
|
||||||
disabled={storage.predefined}
|
disabled={storage.predefined}
|
||||||
readonly={storage.predefined}
|
|
||||||
bind:value={storage.containerId}
|
bind:value={storage.containerId}
|
||||||
>
|
>
|
||||||
{#if services.length === 1}
|
{#if services.length === 1}
|
||||||
{#if services[0].name}
|
{#if services[0].name}
|
||||||
<option selected value={services[0].id}>{services[0].name}</option>
|
<option selected value={services[0].id}>{services[0]?.name}</option>
|
||||||
{:else}
|
{:else}
|
||||||
<option selected value={services[0]}>{services[0]}</option>
|
<option selected value={services[0]}>{services[0]}</option>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
{#each services as service}
|
{#each services as service}
|
||||||
{#if service.name}
|
{#if service.name}
|
||||||
<option value={service.id}>{service.name}</option>
|
<option value={service.id}>{service?.name}</option>
|
||||||
{:else}
|
{:else}
|
||||||
<option value={service}>{service}</option>
|
<option value={service}>{service}</option>
|
||||||
{/if}
|
{/if}
|
||||||
@ -157,7 +156,7 @@
|
|||||||
disabled
|
disabled
|
||||||
readonly
|
readonly
|
||||||
class="w-full"
|
class="w-full"
|
||||||
value={`${services.find((s) => s.id === storage.containerId).name || storage.containerId}`}
|
value={`${services.find((s) => s.id === storage.containerId)?.name || storage.containerId}`}
|
||||||
/>
|
/>
|
||||||
<input disabled readonly class="w-full" value={`${storage.volumeName}:${storage.path}`} />
|
<input disabled readonly class="w-full" value={`${storage.volumeName}:${storage.path}`} />
|
||||||
<button
|
<button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user