Skip to content

Commit

Permalink
don't show warning if spectrum_y_units is not even defined
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Oct 17, 2024
1 parent ffc7e83 commit 3430d1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
@click:action="spectral_extraction"
>
<v-alert
v-if="results_units !== spectrum_y_units"
v-if="spectrum_y_units && results_units !== spectrum_y_units"
type='warning'
style="margin-left: -12px; margin-right: -12px"
>
Expand Down

0 comments on commit 3430d1d

Please sign in to comment.