{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

<PopupMenu @name="metadata-edit-menu">
  <nav class="menu">
    <ul class="menu-list">
      <li class="action">
        <ConfirmAction
          @buttonClasses="link is-destroy"
          @confirmTitle="Remove metadata?"
          @confirmMessage="This data may be used outside of Vault."
          @confirmButtonText="Remove"
          @onConfirmAction={{action "performTransaction" this.model this.key}}
        >
          Remove
        </ConfirmAction>
      </li>
    </ul>
  </nav>
</PopupMenu>