Only mention Sokko TCG while it is enabled and fix shop pack rates

The sidebar and About page advertised the game even when disabled. The admin
rates also warned that the shop pack had no drawable common, rare or epic card
although it draws them from the other collections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-05 19:03:04 +01:00
parent de7e72fb42
commit 09a92de2c5
11 changed files with 61 additions and 23 deletions

View file

@ -192,7 +192,7 @@ function CollectionPage({ catalog, lookup, collection, dashboard, mutateCatalog,
<section className="nds-panel nebula-admin-drop-rates" aria-labelledby="nebula-admin-drop-rates-title">
<h3 id="nebula-admin-drop-rates-title">Taux de tirage</h3>
<p className="nebula-form-help">Chaque carte d’un paquet est tirée indépendamment : d’abord la rareté selon ces poids, puis une variation au hasard parmi celles tirables de cette rareté. Les nouveaux taux s’appliquent immédiatement.</p>
<DropRatesEditor key={JSON.stringify(collection.dropWeights || null)} catalog={catalog} lookup={lookup} collection={collection} busy={busy} mutateCatalog={mutateCatalog} />
<DropRatesEditor key={JSON.stringify(collection.dropWeights || null)} catalog={catalog} collection={collection} busy={busy} mutateCatalog={mutateCatalog} />
</section>
<CollectionOpeningPanel catalog={catalog} lookup={lookup} collection={collection} mutateCatalog={mutateCatalog} busy={busy} />
</div>