ui: only show lang-select when multi lang detected

This commit is contained in:
undefined committed 2022-03-19 16:46:33 +08:00
1 parent 985fcd18f5
commit be7f28e19b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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">