Fix RP duration editing on admin page
Fix RP duration editing on admin page

Validation logic in the "DatabaseRow" component made some optimistic
assumptions about the presence of the "replication" in state.
Replication won't be present in OSS or Influx Relay sources, so when
users tried to update other properties of a retention policy, it failed
with an error that indicated "replication" was undefined.

Since this is expected and desired behavior, this patch uses the
existing "isRFVisible" property to determine whether or not we should
process the "replication" part of the component's state, or simply
replace it with a "1", which is the only allowed value for
non-Enterprise sources.

mark-rushakoff/influxdb,nooproblem/influxdb,influxdb/influxdb,mark-rushakoff/influxdb,nooproblem/influxdb,mark-rushakoff/influxdb,mark-rushakoff/influxdb,influxdb/influxdb,li-ang/influxdb,mark-rushakoff/influxdb,li-ang/influxdb,nooproblem/influxdb,nooproblem/influxdb,influxdb/influxdb,nooproblem/influxdb,influxdb/influxdb,influxdb/influxdb,influxdata/influxdb,mark-rushakoff/influxdb,influxdb/influxdb,influxdata/influxdb