Skip to content

Alpine name collision prevents adding ability to an adversary #2350

Closed
@cyber-arsenull

Description

@cyber-arsenull

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:

  1. Click abilities
  2. Click + Create an Ability
  3. Fill out the needed information before + Add Cleanup Command
  4. 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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions