summaryrefslogtreecommitdiffstats
path: root/dashboard/src
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 14:11:01 -0400
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 14:11:01 -0400
commit65335b0221f8781443f33829719f8c0a80105040 (patch)
tree430eede4c95cc5f2607a2772ae684bad15ca1212 /dashboard/src
parent357ca93d21500d4d5a55f1bdd0550326d424bb26 (diff)
Add column ordering to host list
Change-Id: Id1d52217b85aaafed71177c8eed5719dbb1bff4a Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'dashboard/src')
-rw-r--r--dashboard/src/templates/resource/hosts.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/dashboard/src/templates/resource/hosts.html b/dashboard/src/templates/resource/hosts.html
index 4a53b45..4bf64e0 100644
--- a/dashboard/src/templates/resource/hosts.html
+++ b/dashboard/src/templates/resource/hosts.html
@@ -35,10 +35,7 @@
$(document).ready(function () {
$('#table').DataTable({
scrollX: true,
- columnDefs: [
- {type: 'status', targets: 6}
- ],
- "order": [[6, "asc"]]
+ "order": [[0, "asc"]]
});
});
</script>