ui: only show lang-select when multi lang detected

pull/323/head
undefined 3 years ago
parent 985fcd18f5
commit be7f28e19b

@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.34.16",
"version": "4.34.17",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",

@ -75,7 +75,7 @@
<div class="section__header non-scratchpad--hide">
<h1 class="section__title">{{ pdoc.title }}</h1>
</div>
{% if pdoc.content|contentLang|length %}
{% if pdoc.content|contentLang|length > 1 %}
<div class="section__tab-container">
<div class="section__tab-header-wrapper">
<ul class="section__tab-header flex-row">

Loading…
Cancel
Save