diff --git a/html/ui/Cluster-bd053ffb62d5a804.js b/html/ui/Cluster-8864c22a73e68a3e.js
similarity index 76%
rename from html/ui/Cluster-bd053ffb62d5a804.js
rename to html/ui/Cluster-8864c22a73e68a3e.js
index aa3badf..943cfe9 100644
--- a/html/ui/Cluster-bd053ffb62d5a804.js
+++ b/html/ui/Cluster-8864c22a73e68a3e.js
@@ -1,5 +1,5 @@
const Cluster = {
- components: { ClusterAccess, ClusterCAs, Downloads, GetCopy },
+ components: { ClusterAccess, ClusterCAs, GetCopy },
props: [ 'cluster', 'token', 'state' ],
template: `
@@ -14,9 +14,6 @@ const Cluster = {
-
Downloads
-
-
`
}
diff --git a/html/ui/Downloads-29497c61f1fe9bf0.js b/html/ui/Downloads-25b2e1f4aeaaff61.js
similarity index 96%
rename from html/ui/Downloads-29497c61f1fe9bf0.js
rename to html/ui/Downloads-25b2e1f4aeaaff61.js
index 77798e3..09b94ce 100644
--- a/html/ui/Downloads-29497c61f1fe9bf0.js
+++ b/html/ui/Downloads-25b2e1f4aeaaff61.js
@@ -5,8 +5,7 @@ const Downloads = {
},
computed: {
availableAssets() {
- return {
- cluster: ['addons'],
+ return ({
host: [
"kernel",
"initrd",
@@ -23,7 +22,7 @@ const Downloads = {
"config.json",
"ipxe",
],
- }[this.kind]
+ }[this.kind] || [])
},
downloads() {
return Object.entries(this.state.Downloads)
diff --git a/html/ui/index.html b/html/ui/index.html
index 9fa80f5..a4c2994 100644
--- a/html/ui/index.html
+++ b/html/ui/index.html
@@ -11,11 +11,11 @@
-
+
-
+
diff --git a/ui/js/Cluster.js b/ui/js/Cluster.js
index aa3badf..943cfe9 100644
--- a/ui/js/Cluster.js
+++ b/ui/js/Cluster.js
@@ -1,5 +1,5 @@
const Cluster = {
- components: { ClusterAccess, ClusterCAs, Downloads, GetCopy },
+ components: { ClusterAccess, ClusterCAs, GetCopy },
props: [ 'cluster', 'token', 'state' ],
template: `
@@ -14,9 +14,6 @@ const Cluster = {
- Downloads
-
-
`
}
diff --git a/ui/js/Downloads.js b/ui/js/Downloads.js
index 77798e3..09b94ce 100644
--- a/ui/js/Downloads.js
+++ b/ui/js/Downloads.js
@@ -5,8 +5,7 @@ const Downloads = {
},
computed: {
availableAssets() {
- return {
- cluster: ['addons'],
+ return ({
host: [
"kernel",
"initrd",
@@ -23,7 +22,7 @@ const Downloads = {
"config.json",
"ipxe",
],
- }[this.kind]
+ }[this.kind] || [])
},
downloads() {
return Object.entries(this.state.Downloads)