fix: harden offline fallback and track visitable pages
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m36s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m36s
This commit is contained in:
@@ -36,6 +36,7 @@ interface CacheStats {
|
||||
images: { size: number; entries: number };
|
||||
books: { size: number; entries: number };
|
||||
total: number;
|
||||
visitablePages: number;
|
||||
}
|
||||
|
||||
interface CacheEntry {
|
||||
@@ -376,6 +377,9 @@ export function CacheSettings() {
|
||||
<p className="text-xs text-muted-foreground text-right">
|
||||
{t("settings.cache.imagesQuota", { used: Math.round(usagePercent) })}
|
||||
</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{t("settings.cache.visitablePages", { count: stats.visitablePages })}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user