Merge pull request #2288 from phl0/enableSatonSat

Only disable SAT selection if it is not the default band
This commit is contained in:
Peter Goodhall
2023-07-14 14:14:31 +01:00
committed by GitHub

View File

@@ -60,7 +60,7 @@
</select>
<?php if (count($sats_available) != 0) { ?>
<label class="my-1 mr-2" for="distplot_sats"><?php echo lang('gridsquares_sat'); ?></label>
<select class="custom-select my-1 mr-sm-2" id="sats" disabled>
<select class="custom-select my-1 mr-sm-2" id="sats" <?php if ($user_gridmap_default_band != "SAT") { ?>disabled<?php } ?>>
<option value="All">All</option>
<?php foreach($sats_available as $sat) {
echo '<option value="' . $sat . '"' . '>' . $sat . '</option>'."\n";