diff --git a/ui/src/views/image/RegisterOrUploadIso.vue b/ui/src/views/image/RegisterOrUploadIso.vue
index cf1435a6034..aa127a3d405 100644
--- a/ui/src/views/image/RegisterOrUploadIso.vue
+++ b/ui/src/views/image/RegisterOrUploadIso.vue
@@ -35,8 +35,10 @@
+ name="url">
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
+ ref="userdataid">
+
+
+
-
+
-
+
+
+
+
+
+
+
-
+
+
+
+
@@ -276,7 +306,7 @@ export default {
params.showicon = true
this.zoneLoading = true
- if (store.getters.userInfo.roletype === this.rootAdmin) {
+ if (store.getters.userInfo.roletype === 'Admin') {
this.allowed = true
}
api('listZones', params).then(json => {
diff --git a/ui/src/views/image/RegisterOrUploadTemplate.vue b/ui/src/views/image/RegisterOrUploadTemplate.vue
index e4d4687c326..c8e7ad3510e 100644
--- a/ui/src/views/image/RegisterOrUploadTemplate.vue
+++ b/ui/src/views/image/RegisterOrUploadTemplate.vue
@@ -32,7 +32,10 @@
@finish="handleSubmit"
layout="vertical">
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
@@ -174,7 +199,10 @@
-
+
+
+
+
+
+
+
+ ref="userdataid">
+
+
+
-
+