Mercurial > gemma
diff client/src/components/importoverview/LogDetail.vue @ 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 | 84145179ec72 |
children | 0fe0b3f1720f |
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: {