Skip to content

DeleteItemModal

View source on GitHub

A confirmation modal for deleting a plant from the inventory, a distillation record, or a distiller. *

Props

NameTypeRequiredDescription
plantNamestringnoThe name of the plant to be deleted.
plantPartstringnoThe part of the plant to be deleted.
distillationDatestringnoThe date of the distillation to be deleted.
distillerstringnoThe distiller to be deleted.

Emits

  • close-delete-modal
  • delete-item

Exposed Methods

deleteItem()

Emits the delete-item event to confirm deletion.

closeDeleteModal()

Emits the close-delete-modal event to close the modal without deletion.