mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 07:50:45 +00:00
Fix aliance renewal question (extension-prompt) staying open (#4196)
> **Before opening a PR:** discuss new features on [Discord](https://discord.gg/K9zernJB5z) first, and file bugs or small improvements as [issues](https://github.com/openfrontio/OpenFrontIO/issues/new/choose). You must be assigned to an `approved` issue — unsolicited PRs will be auto-closed. **Add approved & assigned issue number here:** Resolves #4164 ## Description: Single line change, making sure the ActionableEvent is updated after removing the alliance that just ended. ## Please complete the following: - [x] I have added screenshots for all UI updates -# There are none - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file -# There are none - [x] I have added relevant tests to the test directory -# I do not know how I would to it. ## Please put your Discord username so you can be contacted if a bug or regression is found: Katokoda
This commit is contained in:
@@ -185,6 +185,7 @@ export class ActionableEvents extends LitElement implements Controller {
|
||||
if (!currentAllianceIds.has(allianceId)) {
|
||||
this.removeAllianceRenewalEvents(allianceId);
|
||||
this.alliancesCheckedAt.delete(allianceId);
|
||||
this.requestUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user