Skip to content

Commit

Permalink
Fixed #6055
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Aug 22, 2024
1 parent 99ed59c commit f88e092
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/primevue/src/contextmenu/ContextMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default {
getPTOptions(key, processedItem, index) {
return this.ptm(key, {
context: {
item: processedItem,
item: processedItem.item,
active: this.isItemActive(processedItem),
focused: this.isItemFocused(processedItem),
disabled: this.isItemDisabled(processedItem),
Expand Down
2 changes: 1 addition & 1 deletion packages/primevue/src/megamenu/MegaMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
getPTOptions(processedItem, index, key) {
return this.ptm(key, {
context: {
item: processedItem,
item: processedItem.item,
index,
active: this.isItemActive(processedItem),
focused: this.isItemFocused(processedItem),
Expand Down
2 changes: 1 addition & 1 deletion packages/primevue/src/menubar/MenubarSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default {
getPTOptions(processedItem, index, key) {
return this.ptm(key, {
context: {
item: processedItem,
item: processedItem.item,
index,
active: this.isItemActive(processedItem),
focused: this.isItemFocused(processedItem),
Expand Down
2 changes: 1 addition & 1 deletion packages/primevue/src/panelmenu/PanelMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
getPTOptions(key, processedItem, index) {
return this.ptm(key, {
context: {
item: processedItem,
item: processedItem.item,
index,
active: this.isItemActive(processedItem),
focused: this.isItemFocused(processedItem),
Expand Down
2 changes: 1 addition & 1 deletion packages/primevue/src/tieredmenu/TieredMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default {
getPTOptions(processedItem, index, key) {
return this.ptm(key, {
context: {
item: processedItem,
item: processedItem.item,
index,
active: this.isItemActive(processedItem),
focused: this.isItemFocused(processedItem),
Expand Down

0 comments on commit f88e092

Please sign in to comment.