From dffbe329b39394cc2a0081fc2a92d7bb69d503e2 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Tue, 8 Dec 2020 13:50:53 +0530 Subject: [PATCH] config: don't show redudant isrouting when templatetype is show to admin Signed-off-by: Rohit Yadav --- ui/src/config/section/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/config/section/image.js b/ui/src/config/section/image.js index 1d9a15f519a..6f08b9e4bd4 100644 --- a/ui/src/config/section/image.js +++ b/ui/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 },