mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 07:50:45 +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:
@@ -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