message: fix application selector to not change the value when it's disabled
diff: @@ -27,16 +27,21 @@ interface DispatchProps {
  type Props = ApplicationSelectorProps & StateProps & DispatchProps;
  const ApplicationSelector: React.FC<Props> = ({ namespace, application, onChange, disabled }) => {
  - if (namespace === ALL_NAMESPACES_KEY) return null;
  -
  const allApplicationsTitle = 'all applications';
  const noApplicationsTitle = 'unassigned';
  - const title: string =
  + const dropdownTitle: string =
  application === ALL_APPLICATIONS_KEY
  ? allApplicationsTitle
  : application === UNASSIGNED_APPLICATIONS_KEY
  ? noApplicationsTitle
  : application;
  + const [title, setTitle] = React.useState<string>(dropdownTitle);
  + React.useEffect(() => {
  + if (!disabled) {
  + setTitle(dropdownTitle);
  + }
  + }, [disabled, dropdownTitle]);
  + if (namespace === ALL_NAMESPACES_KEY) return null;
  const onApplicationChange = (newApplication: string, key: string) => {
  key === ALL_APPLICATIONS_KEY ? onChange(key) : onChange(newApplication);
  