message: Prettify the code
diff: @@ -230,11 +230,13 @@ export default class DynamicInputContainer extends preact.Component {
  // returns boolean whether the field has value based on its type
  static isFieldEmpty(field_value) {
  - if((typeof field_value == 'string') && (field_value)){
  + if (typeof field_value == 'string' && field_value) {
  return false;
  } else if (typeof field_value == 'object') {
  for (let [key, value] of Object.entries(field_value)) {
  - if((key != 'primary') && (value)) { return false; }
  + if (key != 'primary' && value) {
  + return false;
  + }
  }
  }
  return true;
  