mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-13 03:06:15 +00:00
fix: kill count subscript position on firefox, and remove kill filter for single system (#148)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user