mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: only show lang-select when multi lang detected
This commit is contained in:
1 parent
985fcd18f5
commit
be7f28e19b
2 files changed
+2
-2
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user