From 8437b552d972729f5e85b83e6f2118876c88aec2 Mon Sep 17 00:00:00 2001 From: Elie Steinbock Date: Sun, 5 Jul 2015 15:30:36 +0300 Subject: [PATCH] small fix to ionTab and version bump --- components/ionTab/ionTab.js | 2 +- package.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ionTab/ionTab.js b/components/ionTab/ionTab.js index 2e80017..42ea686 100644 --- a/components/ionTab/ionTab.js +++ b/components/ionTab/ionTab.js @@ -43,7 +43,7 @@ Template.ionTab.helpers({ // no session variable has been set, this attempts to set the correct tab // to active based on the router var route = Router.routes[this.path]; - if(route && route.path(Template.parentData(1)) === ionTabCurrent){ + if(route && route.path(Template.currentData()) === ionTabCurrent){ return 'active'; } }, diff --git a/package.js b/package.js index 50c91fa..15387f9 100644 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ Package.describe({ name: "meteoric:ionic", summary: "Ionic components for Meteor. No Angular!", - version: "0.1.18", + version: "0.1.19", git: "https://github.com/meteoric/meteor-ionic.git" });