view client/src/lib/errors.js @ 555:f66116b3a249

fix: Reset collapse state of sidebar
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 03 Sep 2018 12:57:33 +0200
parents 27502291e564
children
line wrap: on
line source

/** facade to wrap calls to vue2-toastr */
import app from "../main";

const displayError = ({ title, message }) => {
  app.$toast.error({
    title: title,
    message: message
  });
};

export { displayError };