From 4fa7151e34968917d6186d2a475d7e85a7d0fac7 Mon Sep 17 00:00:00 2001 From: Anas Boudih Date: Sat, 23 Mar 2024 16:05:10 +0000 Subject: [PATCH] doc(splitbutton): fix composition API composable use --- doc/splitbutton/BasicDoc.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/splitbutton/BasicDoc.vue b/doc/splitbutton/BasicDoc.vue index 5e138e593..b61f88a0b 100644 --- a/doc/splitbutton/BasicDoc.vue +++ b/doc/splitbutton/BasicDoc.vue @@ -96,13 +96,13 @@ const items = [ { label: 'Update', command: () => { - this.$toast.add({ severity: 'success', summary: 'Updated', detail: 'Data Updated', life: 3000 }); + toast.add({ severity: 'success', summary: 'Updated', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', command: () => { - this.$toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); + toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, {