fix: kill count subscript position on firefox, and remove kill filter for single system (#148)

This commit is contained in:
guarzo
2025-02-05 07:59:30 -07:00
committed by GitHub
parent a850071965
commit 860d20dc66
3 changed files with 21 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ export const SystemKills: React.FC = () => {
const showLoading = isLoading && kills.length === 0;
const filteredKills = useMemo(() => {
if (!settings.whOnly) return kills;
if (!settings.whOnly || !visible) return kills;
return kills.filter(kill => {
const system = systems.find(sys => sys.system_static_info.solar_system_id === kill.solar_system_id);
if (!system) {