Merge with 2.0.0-m3

This commit is contained in:
René Pfeuffer
2019-03-13 07:52:15 +01:00
30 changed files with 148 additions and 63 deletions

View File

@@ -4,6 +4,10 @@ import moment from "moment";
import { translate } from "react-i18next";
import injectSheet from "react-jss";
// fix german locale
// https://momentjscom.readthedocs.io/en/latest/moment/00-use-it/07-browserify/
import "moment/locale/de";
const styles = {
date: {
borderBottom: "1px dotted rgba(219, 219, 219)",

View File

@@ -6,7 +6,9 @@ import type { BackendErrorContent } from "./errors";
const fetchOptions: RequestOptions = {
credentials: "same-origin",
headers: {
Cache: "no-cache"
Cache: "no-cache",
// identify the request as ajax request
"X-Requested-With": "XMLHttpRequest"
}
};