-
{parseDate(time)}
-
{parseTime(time)}
-
{fmtDuration(duration)}
-
{fmtZoneName(zone)}
+
+ {parseTime(time || now)}
+
+
+ {fmtDuration(duration)}
+
+
+ {fmtZoneName(zoneName)}
+
+
+ {dps}
+ DPS
+
);
}
function SettingsHistory() {
const { api } = useStore();
+ // do not use getters here,
+ // since getter may returns history data when selected
+ const { duration, dps, zoneName } = api.data.encounter;
return (