Closed
Description
Describe the bug
As mentioned in part of #2348 you currently cannot add an ability to an adversary.
This is due to the naming collision of showAbilityModal
in profiles.html
and abilities.html
. Seems the abilities one always wins this fight, and you end up with the incorrect modal.
To Reproduce
Steps to reproduce the behavior:
- Click abilities
- Click + Create an Ability
- Fill out the needed information before + Add Cleanup Command
- Click + Add Cleanup Command and the window will be closed immediately, as well as all the tabs already opened
Expected behavior
An ability selection screen (modal) should appear from profiles.html
.
Additional context
Proof of issue's cause hypothesis: If you change the name of either the issue is resolved.