diff --git a/package.json b/package.json index 9d88568a..678f8e94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pagopa-api-config-fe", - "version": "1.36.9", + "version": "1.36.9-1-PAGOPA-1622-sviluppo-api-config-gestione-flag-stand-in-per-wsdl", "license": "MIT", "scripts": { "envconfig": "chmod +x envconfig.sh && . ./envconfig.sh && chmod +x version.sh && ./version.sh", diff --git a/src/pages/channels/ChannelView.tsx b/src/pages/channels/ChannelView.tsx index 81597e72..1b68c0b2 100644 --- a/src/pages/channels/ChannelView.tsx +++ b/src/pages/channels/ChannelView.tsx @@ -999,6 +999,20 @@ export default class ChannelView extends React.Component { disabled={this.props.readOnly} /> + + this.handleChange(e)} + readOnly={this.props.readOnly} + disabled={this.props.readOnly} + /> + {!this.props.readOnly && diff --git a/src/pages/channels/CreateChannel.tsx b/src/pages/channels/CreateChannel.tsx index 067f7f60..72e26076 100644 --- a/src/pages/channels/CreateChannel.tsx +++ b/src/pages/channels/CreateChannel.tsx @@ -67,6 +67,7 @@ export default class CreateChannel extends React.Component { digital_stamp_brand: false, flag_io: false, flag_psp_cp: false, + flag_standin: false, serv_plugin: '-', agid: false } as unknown as ChannelDetails, diff --git a/src/pages/stations/CreateStation.tsx b/src/pages/stations/CreateStation.tsx index fbfa0e42..031a1d78 100644 --- a/src/pages/stations/CreateStation.tsx +++ b/src/pages/stations/CreateStation.tsx @@ -58,6 +58,7 @@ export default class CreateStation extends React.Component { timeout_c: 120, version: 1, flag_online: false, + flag_standin: false, invio_rt_istantaneo: false, ip_4mod: false, new_password: "", diff --git a/src/pages/stations/StationView.tsx b/src/pages/stations/StationView.tsx index 0f435e59..162bab7a 100644 --- a/src/pages/stations/StationView.tsx +++ b/src/pages/stations/StationView.tsx @@ -598,6 +598,18 @@ export default class StationView extends React.Component { +
+ + Flag standin + this.handleChange(e)} + value={String(this.props.station.flag_standin)} + readOnly={this.props.readOnly}> + + + + +
{