view client/src/application/lib/errors.js @ 668:3e2eeb215d0e

feat: searchbar collapsible Searchbar is now styled according to other buttons. Searchbar is collapsible.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 18 Sep 2018 18:23:15 +0200
parents ef307bd6b5d8
children ca628dce90dd
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 };