From 90132fc104dfff7878fb9aa9131f9269a98a09eb Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 22 Aug 2024 11:55:35 +0300 Subject: [PATCH] Renaming --- packages/primevue/src/menubar/MenubarSub.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/menubar/MenubarSub.vue b/packages/primevue/src/menubar/MenubarSub.vue index 60fc626a0..b6183c8a8 100755 --- a/packages/primevue/src/menubar/MenubarSub.vue +++ b/packages/primevue/src/menubar/MenubarSub.vue @@ -178,7 +178,7 @@ export default { this.$emit('item-mousemove', { originalEvent: event, processedItem }); }, getAriaPosInset(index) { - return index - this.ariaPosInsetCompute.slice(0, index).length + 1; + return index - this.calculateAriaSetSize.slice(0, index).length + 1; }, getMenuItemProps(processedItem, index) { return { @@ -212,7 +212,7 @@ export default { } }, computed: { - ariaPosInsetCompute() { + calculateAriaSetSize() { return this.items.filter((processedItem) => this.isItemVisible(processedItem) && this.getItemProp(processedItem, 'separator')); }, getAriaSetSize() {