fix ConfirmDialog example and documentation

replace 'key' with 'group'
pull/1143/head
Rakasch 2021-04-03 16:29:11 +02:00
parent e7f4264d29
commit 9168c3ce28
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ export default {
},
confirmPosition(position) {
this.$confirm.require({
key: 'positionDialog',
group: 'positionDialog',
message: 'Do you want to delete this record?',
header: 'Delete Confirmation',
icon: 'pi pi-info-circle',
@ -92,4 +92,4 @@ export default {
'ConfirmDialogDoc': ConfirmDialogDoc
}
}
</script>
</script>

View File

@ -314,7 +314,7 @@ export default {
},
confirmPosition(position) {
this.$confirm.require({
key: 'positionDialog',
group: 'positionDialog',
message: 'Do you want to delete this record?',
header: 'Delete Confirmation',
icon: 'pi pi-info-circle',
@ -376,7 +376,7 @@ export default defineComponent({
setup() {
const confirm = useConfirm();
const toast = useToast();
const confirm1 = () => {
confirm.require({
message: 'Are you sure you want to proceed?',