mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-28 13:27:30 +01:00
sort healthTable onMount
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { onMount } from "svelte";
|
||||||
import {
|
import {
|
||||||
Row,
|
Row,
|
||||||
Col,
|
Col,
|
||||||
@@ -140,6 +141,9 @@
|
|||||||
healthTableData = [...pendingHealthData];
|
healthTableData = [...pendingHealthData];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* On Mount */
|
||||||
|
onMount(() => sortBy('healthState'));
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Refresher and space for other options -->
|
<!-- Refresher and space for other options -->
|
||||||
|
|||||||
Reference in New Issue
Block a user