mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 00:01:49 +01:00
Don't show installed if nothing is installed
This commit is contained in:
parent
472bfec6bf
commit
b8df0e89e5
@ -76,7 +76,7 @@ export default function Extensions() {
|
|||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
Object.entries(extensions).map(([lang, list]) => (
|
Object.entries(extensions).map(([lang, list]) => (
|
||||||
(['installed', ...shownLangs].indexOf(lang) !== -1
|
((['installed', ...shownLangs].indexOf(lang) !== -1 && (list as []).length > 0)
|
||||||
&& (
|
&& (
|
||||||
<React.Fragment key={lang}>
|
<React.Fragment key={lang}>
|
||||||
<h1 key={lang} style={{ marginLeft: 25 }}>
|
<h1 key={lang} style={{ marginLeft: 25 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user