Mercurial > gemma
changeset 2718:eae8ec732101
import_review: only set additional info to 'open' when state is pending
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 19 Mar 2019 10:06:22 +0100 |
parents | 5b990f612420 |
children | 2b6f73c30016 |
files | client/src/components/importoverview/LogDetail.vue |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importoverview/LogDetail.vue Tue Mar 19 10:00:34 2019 +0100 +++ b/client/src/components/importoverview/LogDetail.vue Tue Mar 19 10:06:22 2019 +0100 @@ -98,7 +98,9 @@ AdditionalLog: () => import("./AdditionalLog.vue") }, mounted() { - this.$store.commit("imports/showAdditionalInfoFor", this.entry.id); + if (this.entry.state === "pending") { + this.$store.commit("imports/showAdditionalInfoFor", this.entry.id); + } this.$store.commit("imports/showAdditionalLogsFor", this.entry.id); }, methods: {