Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Update so we actually use the Name field properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent (Wen Yu) Ge committed Jun 15, 2023
1 parent 2b8f1a1 commit aff2dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/docs/service.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ if (!\function_exists('skipLanguage')) {
$selected = ($key === $version) ? ' selected' : '';
?>
<?php if(!in_array($sdk, ['rest-default', 'graphql-default']) || strcmp($key, "1.2.x") >= 0): ?>
<option value="<?php echo $this->escape($key); ?>"<?php echo ($key === $sdk) ? ' selected' : ''; ?><?php echo $selected; ?>>Version <?php echo $this->escape($key); ?></option>
<option value="<?php echo $this->escape($key); ?>"<?php echo ($key === $sdk) ? ' selected' : ''; ?><?php echo $selected; ?>><?php echo $this->escape($name); ?></option>
<?php endif; ?>
<?php endforeach; ?>
</select>
Expand Down

0 comments on commit aff2dea

Please sign in to comment.