Skip to content

Commit

Permalink
Hide other translation label if none exist
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Dec 10, 2024
1 parent f410715 commit a28aa07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/comps/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ let MySettings = {
<optgroup :label="capApp.translation.community">
<option v-for="l in languageCodes.filter(v => !languageCodesOfficial.includes(v))" :value="l">{{ l }}</option>
</optgroup>
<optgroup :label="capApp.translation.other">
<optgroup v-if="languageCodesModulesAndCustom.length !== 0" :label="capApp.translation.other">
<option v-for="l in languageCodesModulesAndCustom" :value="l">{{ l }}</option>
</optgroup>
</select>
Expand Down

0 comments on commit a28aa07

Please sign in to comment.