Skip to content

Commit

Permalink
web/satellite: fixed NaN issue for edit project limit dialog
Browse files Browse the repository at this point in the history
Added check for undefined value before setting active value dimension.

Issue:
#6848

Change-Id: I989c647e431ba8ace699be7d5969b617ef1c9034
  • Loading branch information
VitaliiShpital committed Mar 14, 2024
1 parent b3dd07b commit 1f38186
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -197,7 +197,9 @@ const input = ref<number>(0);
const dropdownModel = computed<(Dimensions.GB | Dimensions.TB)[]>({
get: () => [ activeMeasurement.value ],
set: value => activeMeasurement.value = value[0],
set: value => {
if (value[0]) activeMeasurement.value = value[0];
},
});
/**
Expand Down

0 comments on commit 1f38186

Please sign in to comment.