created: function() { this.uid = this.$route.params.uid; var self = this; starRatingPlugin.requestFeedbackData({uid: this.uid, period: "12months"}) .then(function() { self.ratingsData = starRatingPlugin.getFeedbackData().aaData; self.ratingsData.map(function(rating) { rating.ts = countlyCommon.formatTimeAgo(rating.ts); starRatingPlugin.requestSingleWidget(rating.widget_id, function(widget) { if (widget) { rating.widgetTitle = widget.popup_header_text; } else { rating.widgetTitle = "Widget not exist"; } return rating; }); }); }); }