Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu authored and LeaderbotX400 committed Aug 29, 2024
1 parent b74db2e commit 03733ca
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 03733ca

Please sign in to comment.