mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-04 14:05:56 +01:00
if disableClusterSelection is set, display info in cluster filter
- instead of undocumented unresponsive cluster name select
This commit is contained in:
parent
38569f55c7
commit
42135fd26c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user