message: Clear errors again and do not show a zero close to the save button
diff: @@ -118,6 +118,7 @@ export const EditYAML_ = connect(stateToProps)(
  }
  return models.get(referenceFor(obj)) || models.get(obj.kind);
  }
  +
  async createResources(objs) {
  const results = [];
  for (const obj of objs) {
  @@ -137,11 +138,16 @@ export const EditYAML_ = connect(stateToProps)(
  return Promise.resolve(results);
  }
  + /** @param {() => void} callback */
  + clearErrors(callback) {
  + this.setState({ errors: [] }, callback);
  + }
  +
  handleError(error, success = null) {
  this.setState((prevState) => {
  - const errors = prevState.errors || [];
  + let errors = prevState.errors || [];
  if (!_.isEmpty(error)) {
  - errors.push(error);
  + errors = [...errors, error];
  }
  return {
  errors,
  @@ -392,6 +398,7 @@ export const EditYAML_ = connect(stateToProps)(
  }
  save() {
  + this.clearErrors(() => {
  const { onSave, t } = this.props;
  const { owner } = this.state;
  let obj;
  @@ -470,13 +477,15 @@ export const EditYAML_ = connect(stateToProps)(
  }
  }
  this.updateYAML(obj, this.getModel(obj), newNamespace, newName);
  + });
  }
  saveAll() {
  + this.clearErrors(() => {
  const { t } = this.props;
  let objs;
  let hasErrors = false;
  - this.setState({ errors: null }, () => {
  +
  try {
  objs = safeLoadAll(this.getEditor().getValue()).filter((obj) => obj);
  } catch (e) {
  @@ -679,7 +688,7 @@ export const EditYAML_ = connect(stateToProps)(
  />
  <div className="yaml-editor__buttons" ref={(r) => (this.buttons = r)}>
  {customAlerts}
  - {errors?.length && (
  + {errors?.length > 0 && (
  <Alert
  isInline
  className="co-alert co-alert--scrollable"
  