mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-25 03:04:13 +00:00
Show newest actionable events on top to prevent misclicks
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
9189aac687
commit
a39413c947
@@ -303,7 +303,7 @@ export class ActionableEvents extends LitElement implements Controller {
|
||||
const aPrior = a.priority ?? 100000;
|
||||
const bPrior = b.priority ?? 100000;
|
||||
if (aPrior === bPrior) {
|
||||
return a.createdAt - b.createdAt;
|
||||
return b.createdAt - a.createdAt;
|
||||
}
|
||||
return bPrior - aPrior;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user