This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new d9e5e65 config: don't show redudant isrouting when templatetype is
show to admin
d9e5e65 is described below
commit d9e5e65781b88caa3b58d1874190ed5a4cce5239
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Dec 8 13:50:53 2020 +0530
config: don't show redudant isrouting when templatetype is show to admin
Signed-off-by: Rohit Yadav <[email protected]>
---
src/config/section/image.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config/section/image.js b/src/config/section/image.js
index 1d9a15f..6f08b9e 100644
--- a/src/config/section/image.js
+++ b/src/config/section/image.js
@@ -102,7 +102,7 @@ export default {
args: (record, store) => {
var fields = ['name', 'displaytext', 'passwordenabled',
'ostypeid', 'isdynamicallyscalable']
if (['Admin'].includes(store.userInfo.roletype)) {
- fields.push('isrouting', 'templatetype')
+ fields.push('templatetype')
}
return fields
},