bug: white screen when user uses postgres image version that not defined in list

If user defines a Postgres image version that is not listed in the dockerImagesConfig list, it causes a white screen

const dockerImagesConfig = {
  '9.6': ['0.5.3', '0.5.2', '0.5.1'],
  '10': ['0.5.3', '0.5.2', '0.5.1'],
  '11': ['0.5.3', '0.5.2', '0.5.1'],
  '12': ['0.5.3', '0.5.2', '0.5.1'],
  '13': ['0.5.3', '0.5.2', '0.5.1'],
  '14': ['0.5.3', '0.5.2', '0.5.1'],
  '15': ['0.5.3', '0.5.2', '0.5.1'],
  '16': ['0.5.3', '0.5.2', '0.5.1'],
  '17': ['0.5.3', '0.5.2', '0.5.1'],
}

Acceptance Criteria

  • UI gracefully handles Postgres image versions not in the dockerImagesConfig list
  • No white screen crash when an unlisted version is used
  • UI displays a fallback message or handles the missing version gracefully
  • dockerImagesConfig is either made extensible or the version check is made tolerant

Definition of Done

  • Bug is fixed and white screen no longer occurs with unlisted Postgres versions
  • Error handling provides a meaningful message to the user
  • Fix is tested with versions both inside and outside the config list
Edited by Nikolay Samokhvalov