From f67812b61c78a0a0c9ef56c6da2bb75258f35b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 31 Aug 2023 16:33:02 +0300 Subject: [PATCH] Refactor #4351 - Revert for Steps --- components/lib/steps/Steps.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/steps/Steps.vue b/components/lib/steps/Steps.vue index 447b4c0a1..e303ee4ce 100755 --- a/components/lib/steps/Steps.vue +++ b/components/lib/steps/Steps.vue @@ -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));