message: fixes issue with validation on pubsub modal
diff: @@ -27,9 +27,11 @@ const PubSubModal: React.FC<Props> = ({
  cancel,
  isSubmitting,
  status,
  - dirty,
  errors,
  -}) => (
  + values,
  +}) => {
  + const dirty = values?.metadata?.name && values?.spec?.subscriber?.ref?.name;
  + return (
  <form className="modal-content modal-content--no-inner-scroll" onSubmit={handleSubmit}>
  <ModalTitle>{labelTitle}</ModalTitle>
  <ModalBody>
  @@ -48,5 +50,6 @@ const PubSubModal: React.FC<Props> = ({
  />
  </form>
  );
  +};
  export default PubSubModal;
  