Delete Update
fun DeleteUpdate(viewModel: ProjectScreenViewModel, update: ProjectUpdate, show: MutableState<Boolean>, onDelete: () -> Unit)
Alert to warn about the update deletion
Parameters
view Model
The support viewmodel for the screen
update
The update to delete
show
Whether the alert is shown
on Delete
The action to execute when the update has been deleted