view client/src/application/lib/errors.js @ 779:8ba1be486833

client: improve search * Add display of searchResults as list-group.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 26 Sep 2018 13:46:18 +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 };