mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-06-21 18:37:28 +02:00
adapt frontend to backend config changes, clarify variable names
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
Properties:
|
||||
- `ncontent String`: The homepage notice content
|
||||
- `clusters [String]`: The available clusternames
|
||||
- `clusterNames [String]`: The available clusternames
|
||||
-->
|
||||
|
||||
<script>
|
||||
@@ -19,7 +19,7 @@
|
||||
/* Svelte 5 Props */
|
||||
let {
|
||||
ncontent,
|
||||
clusters
|
||||
clusterNames
|
||||
} = $props();
|
||||
|
||||
/* Const Init*/
|
||||
@@ -68,6 +68,6 @@
|
||||
<Col>
|
||||
<EditProject reloadUser={() => getUserList()} />
|
||||
</Col>
|
||||
<Options config={ccconfig} {clusters}/>
|
||||
<Options config={ccconfig} {clusterNames}/>
|
||||
<NoticeEdit {ncontent}/>
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user