Refactor #4351 - Revert for Steps

pull/4377/head
Tuğçe Küçükoğlu 2023-08-31 16:33:02 +03:00
parent 9d4b52fe07
commit f67812b61c
1 changed files with 1 additions and 1 deletions

View File

@ -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));