Merge branch 'hotfix/modal-title-bug' into develop
This commit is contained in:
commit
c4affd29da
|
|
@ -34,15 +34,20 @@
|
|||
|
||||
<script>
|
||||
import Modal from '@/components/Modal';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Modal
|
||||
Modal,
|
||||
},
|
||||
|
||||
computed: {
|
||||
title() {
|
||||
return this.$modal.state.payload.title || "Bestätigung";
|
||||
const {payload} = this.$modal.state;
|
||||
if (payload && payload.title) {
|
||||
return payload.title;
|
||||
}
|
||||
return 'Bestätigung';
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
@ -52,7 +57,7 @@
|
|||
cancel() {
|
||||
this.$modal.cancel();
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue