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) { confirmPosition(position) {
this.$confirm.require({ this.$confirm.require({
key: 'positionDialog', group: 'positionDialog',
message: 'Do you want to delete this record?', message: 'Do you want to delete this record?',
header: 'Delete Confirmation', header: 'Delete Confirmation',
icon: 'pi pi-info-circle', icon: 'pi pi-info-circle',

View File

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