From c0277d93222c11478de4f2d2f14b340793ab2727 Mon Sep 17 00:00:00 2001 From: Girija Soni Date: Tue, 25 Jul 2023 18:04:51 +0530 Subject: [PATCH] Fixes #36591 - Fix the parameter value masking --- app/views/api/v2/parameters/base.json.rabl | 6 +----- .../components/HostDetails/Tabs/Parameters/EditTableRow.js | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/views/api/v2/parameters/base.json.rabl b/app/views/api/v2/parameters/base.json.rabl index d24fb972359e..eb37c65d018a 100644 --- a/app/views/api/v2/parameters/base.json.rabl +++ b/app/views/api/v2/parameters/base.json.rabl @@ -1,7 +1,3 @@ object @parameter -attributes :id, :name, :parameter_type, :associated_type, :hidden_value? - -node do - partial("api/v2/common/show_hidden", :locals => { :value => :value }, :object => @object) -end +attributes :id, :name, :value, :parameter_type, :associated_type, :hidden_value? diff --git a/webpack/assets/javascripts/react_app/components/HostDetails/Tabs/Parameters/EditTableRow.js b/webpack/assets/javascripts/react_app/components/HostDetails/Tabs/Parameters/EditTableRow.js index f546255c5507..01b40098b19a 100644 --- a/webpack/assets/javascripts/react_app/components/HostDetails/Tabs/Parameters/EditTableRow.js +++ b/webpack/assets/javascripts/react_app/components/HostDetails/Tabs/Parameters/EditTableRow.js @@ -9,7 +9,6 @@ import { SelectOption, Button, TextInput, - TextArea, Checkbox, FormGroup, Form, @@ -135,7 +134,7 @@ export const EditParametersTableRow = ({ ) : ( -