mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #4351 - Revert for Steps
This commit is contained in:
parent
9d4b52fe07
commit
f67812b61c
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ export default {
|
|||
focusableItem.focus();
|
||||
},
|
||||
isActive(item) {
|
||||
return item.to || item.route ? this.$router.resolve(item.to || item.route).path === this.$route.path : false;
|
||||
return item.to ? this.$router.resolve(item.to).path === this.$route.path : false;
|
||||
},
|
||||
isItemDisabled(item) {
|
||||
return this.disabled(item) || (this.readonly && !this.isActive(item));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue