changeset 5409:d668ccc7d12c marking-single-beam

SR Import: Minor fix in guarding clause
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 07 Jul 2021 09:24:17 +0200
parents 901b70f9c6bd
children 8b6018ed3ffd
files client/src/components/importconfiguration/types/Soundingresults.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importconfiguration/types/Soundingresults.vue	Tue Jul 06 15:47:44 2021 +0200
+++ b/client/src/components/importconfiguration/types/Soundingresults.vue	Wed Jul 07 09:24:17 2021 +0200
@@ -297,7 +297,7 @@
         }
       })
         .then(response => {
-          if (response.data.meta) {
+          if (response.data && response.data.meta) {
             const { bottleneck, date, epsg } = response.data.meta;
             const depthReference = response.data.meta["depth-reference"];
             const surveyType = response.data.meta["survey-type"];