diff client/src/components/importoverview/LogDetail.vue @ 3358:c0c880553cd5

client: import review: added section details (actually just the link to move the map to the feature)
author Markus Kottlaender <markus@intevation.de>
date Tue, 21 May 2019 16:31:22 +0200
parents 1b8bb4f89227
children 45307cf4931a
line wrap: on
line diff
--- a/client/src/components/importoverview/LogDetail.vue	Tue May 21 16:29:38 2019 +0200
+++ b/client/src/components/importoverview/LogDetail.vue	Tue May 21 16:31:22 2019 +0200
@@ -3,7 +3,7 @@
     <div
       class="d-flex border-bottom"
       style="padding-left: 3px;"
-      v-if="hasAdditionalInfo || isST || isSR"
+      v-if="hasAdditionalInfo || isST || isSEC || isSR"
     >
       <div v-if="hasAdditionalInfo">
         <UISpinnerButton
@@ -27,7 +27,8 @@
           (LOS: {{ details.summary.los }})
         </span>
       </div>
-      <StretchDetail v-if="isST && isPending" :entry="entry" />
+      <SectionDetails v-if="isSEC && isPending" :entry="entry" />
+      <StretchDetails v-if="isST && isPending" :entry="entry" />
       <SoundingResultDetail :entry="entry" v-if="isSR && isPending" />
     </div>
     <div
@@ -71,7 +72,8 @@
 export default {
   components: {
     SoundingResultDetail: () => import("./SoundingResultDetail"),
-    StretchDetail: () => import("./StretchDetails"),
+    StretchDetails: () => import("./StretchDetails"),
+    SectionDetails: () => import("./SectionDetails"),
     FairwayDimensionDetail: () => import("./FairwayDimensionDetail"),
     ApprovedGaugeMeasurementDetail: () =>
       import("./ApprovedGaugeMeasurementDetail"),
@@ -102,6 +104,9 @@
     isST() {
       return this.kind === "ST";
     },
+    isSEC() {
+      return this.kind === "SEC";
+    },
     isSR() {
       return this.kind === "SR";
     }