message: Hotfix: Check for privacy was not done correctly
diff: @@ -78,7 +78,10 @@ class Generator extends preact.Component {
  'storeName': 'my-requests'
  });
  }
  - if(Privacy.isAllowed(PRIVACY_ACTIONS.SAVE_ID_DATA)) this.idData = new IdData();
  + if(Privacy.isAllowed(PRIVACY_ACTIONS.SAVE_ID_DATA)) {
  + this.idData = new IdData();
  + this.idData.getAll().then(fill_fields => this.setState({fill_fields: fill_fields}));
  + }
  this.renderRequest = this.renderRequest.bind(this);
  this.handleInputChange = this.handleInputChange.bind(this);
  @@ -103,8 +106,6 @@ class Generator extends preact.Component {
  rethrow(error, 'PdfWorker error');
  };
  - this.idData.getAll().then(fill_fields => this.setState({fill_fields: fill_fields}));
  -
  let batch_companies = findGetParamter('companies');
  if(batch_companies) {
  this.setState({batch: batch_companies.split(',')});
  @@ -185,6 +186,7 @@ class Generator extends preact.Component {
  }
  componentDidMount() {
  + if(Privacy.isAllowed(PRIVACY_ACTIONS.SAVE_ID_DATA)) {
  window.addEventListener(ID_DATA_CHANGE_EVENT, (event) => {
  this.idData.getAll().then((fill_fields) => this.setState({fill_fields: fill_fields}));
  });
  @@ -192,6 +194,7 @@ class Generator extends preact.Component {
  this.idData.getAll().then((fill_fields) => this.setState({fill_fields: fill_fields}));
  });
  }
  + }
  /**
  *
  