if disableClusterSelection is set, display info in cluster filter

- instead of undocumented unresponsive cluster name select
This commit is contained in:
Christoph Kluge 2025-02-28 13:37:28 +01:00
parent 38569f55c7
commit 42135fd26c

View File

@ -43,6 +43,10 @@
<ModalBody>
{#if $initialized}
<h4>Cluster</h4>
{#if disableClusterSelection}
<Button color="info" class="w-100 mb-2" disabled><b>Info: Cluster Selection Disabled in This View</b></Button>
<Button outline color="primary" class="w-100 mb-2" disabled><b>Selected Cluster: {cluster}</b></Button>
{:else}
<ListGroup>
<ListGroupItem
disabled={disableClusterSelection}
@ -64,6 +68,7 @@
{/each}
</ListGroup>
{/if}
{/if}
{#if $initialized && pendingCluster != null}
<br />
<h4>Partiton</h4>