Mercurial > gemma
changeset 2544:c61339e676e0
fix build
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 07 Mar 2019 17:05:43 +0100 |
parents | a542045f28a6 |
children | ee6f5c22317a |
files | client/src/components/importoverview/ImportOverviewAlt.vue |
diffstat | 1 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverviewAlt.vue Thu Mar 07 16:54:29 2019 +0100 +++ b/client/src/components/importoverview/ImportOverviewAlt.vue Thu Mar 07 17:05:43 2019 +0100 @@ -43,10 +43,10 @@ {{ entry.kind.toUpperCase() }} </div> <div class="date small condensed"> - {{ formatSurveyDate(entry.summary.date) }} + {{ entry.summary.date | surverDate }} </div> <div class="enqueued small condensed"> - {{ formatSurveyDate(entry.enqueued.split("T")[0]) }} + {{ entry.enqueued.split("T")[0] | surveyDate }} </div> <div class="user small condensed">{{ entry.user }}</div> <div class="actions small condensed"> @@ -251,7 +251,6 @@ <script> import { displayError } from "@/lib/errors.js"; import { HTTP } from "@/lib/http"; -import { formatSurveyDate, formatDateTime } from "@/lib/date.js"; //import { mapState } from "vuex"; @@ -318,12 +317,6 @@ this.loadImportQueue(); this.loadLogs(); }, - formatSurveyDate(date) { - return formatSurveyDate(date); - }, - formatDateTime(date) { - return formatDateTime(date); - }, loadLogEntries(id) { HTTP.get("/imports/" + id, { headers: { "X-Gemma-Auth": localStorage.getItem("token") }