import BsConfirm from '../../Bootstrap/Confirm.js'; export default { emits: [ "change", "delete" ], props: { dashboard_id: Number, dashboard_kurzbz: String, beschreibung: String }, data() { return { kurzbz: this.dashboard_kurzbz, desc: this.beschreibung } }, methods: { sendDelete() { BsConfirm.popup(this.$p.t('ui', 'confirm_delete') + " " + this.$p.t('ui', 'deleteInfo')) .then(() => this.$emit('delete', this.dashboard_id)).catch(); } }, template: `