30 lines
594 B
Vue
30 lines
594 B
Vue
<template>
|
|
<b-field>
|
|
<b-button
|
|
type="is-danger"
|
|
@click="
|
|
$alertsGenericos.imprimirWarning($buefy, msjWarning, llamarEliminar)
|
|
"
|
|
expanded
|
|
rounded
|
|
>
|
|
<b-icon icon="delete" size="is-small" />
|
|
</b-button>
|
|
</b-field>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
eliminar: { type: Function, required: true, default: () => {} },
|
|
row: { type: Object, required: true, default: () => ({}) },
|
|
msjWarning: { type: String, required: true },
|
|
},
|
|
methods: {
|
|
llamarEliminar() {
|
|
this.eliminar(row)
|
|
},
|
|
},
|
|
}
|
|
</script>
|