Skip to content

Plugin selector has wrong inital state. #891

Closed

Description

@VakarisZ

Describe the bug

If you disable all plugins in the config UI, after refreshing plugin selector initiates with a checkmark for checked instead of empty.

image

To Reproduce

Steps to reproduce the behavior:

  1. Disable all post breach actions
  2. Submit config
  3. Refresh page
  4. Post breach action checkmark is checked even though none is selected.

Expected behavior

If no plugins are selected, "check all" checkmark shouldn't be selected

Activity

  1. added
    BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.
    UIUser Interface
    on Nov 26, 2020
  2. mssalvatore commented on Jan 5, 2021

    @mssalvatore
    Collaborator

    This issue also affects "System info collectors".

  3. self-assigned this
    on Jan 5, 2021
  4. VakarisZ commented on Jan 7, 2021

    @VakarisZ
    ContributorAuthor

    Yes, this bug is in the UI component code, it affects all fields, which are displayed using this component. As this component is reused, you'll only need to solve it in one place - monkey_island/cc/ui/src/components/ui-components/AdvancedMultiSelect.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: LowImpact: LowUIUser Interface

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions