asap-feed-beta 12.8.0 → 12.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/asap-feed-beta.umd.js +30 -27
- package/bundles/asap-feed-beta.umd.js.map +1 -1
- package/bundles/asap-feed-beta.umd.min.js +1 -1
- package/bundles/asap-feed-beta.umd.min.js.map +1 -1
- package/esm2015/lib/tab-feed/asap-tab-feed.component.js +31 -28
- package/esm5/lib/tab-feed/asap-tab-feed.component.js +31 -28
- package/fesm2015/asap-feed-beta.js +30 -27
- package/fesm2015/asap-feed-beta.js.map +1 -1
- package/fesm5/asap-feed-beta.js +30 -27
- package/fesm5/asap-feed-beta.js.map +1 -1
- package/package.json +1 -1
|
@@ -1106,11 +1106,11 @@
|
|
|
1106
1106
|
function (tabName) {
|
|
1107
1107
|
var _this = this;
|
|
1108
1108
|
this.canShow = -1;
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1109
|
+
setTimeout((/**
|
|
1110
|
+
* @return {?}
|
|
1111
|
+
*/
|
|
1112
|
+
function () {
|
|
1113
|
+
if (tabName == _this.settings.tabs.channel) {
|
|
1114
1114
|
_this.service.query = {
|
|
1115
1115
|
searchBy: 'channel_id',
|
|
1116
1116
|
searchValue: _this.settings.tabs.channel_list.map((/**
|
|
@@ -1120,42 +1120,45 @@
|
|
|
1120
1120
|
function (c) { return c.channel_id; })).join(',')
|
|
1121
1121
|
};
|
|
1122
1122
|
_this.canShow = 0;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
if (tabName == this.settings.tabs.feed) {
|
|
1126
|
-
setTimeout((/**
|
|
1127
|
-
* @return {?}
|
|
1128
|
-
*/
|
|
1129
|
-
function () {
|
|
1123
|
+
}
|
|
1124
|
+
if (tabName == _this.settings.tabs.feed) {
|
|
1130
1125
|
_this.service.query = {
|
|
1131
1126
|
searchBy: 'user_info.id',
|
|
1132
1127
|
searchValue: _this.global.loggedUser().id,
|
|
1133
1128
|
typeValue: 'number'
|
|
1134
1129
|
};
|
|
1135
1130
|
_this.canShow = 1;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
if (tabName == this.settings.tabs.feed_users) {
|
|
1139
|
-
setTimeout((/**
|
|
1140
|
-
* @return {?}
|
|
1141
|
-
*/
|
|
1142
|
-
function () {
|
|
1131
|
+
}
|
|
1132
|
+
if (tabName == _this.settings.tabs.feed_users) {
|
|
1143
1133
|
_this.service.query = {
|
|
1144
1134
|
searchBy: 'user_info.id',
|
|
1145
|
-
searchValue: 'all'
|
|
1135
|
+
searchValue: 'all',
|
|
1136
|
+
typeValue: 'number'
|
|
1146
1137
|
};
|
|
1147
1138
|
_this.canShow = 2;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
|
|
1139
|
+
}
|
|
1140
|
+
if (tabName == _this.settings.tabs.allFeed) {
|
|
1141
|
+
_this.service.query = {
|
|
1142
|
+
searchBy: 'user_info.id',
|
|
1143
|
+
searchValue: _this.global.loggedUser().id,
|
|
1144
|
+
typeValue: 'number'
|
|
1145
|
+
};
|
|
1146
|
+
_this.canShow = 3;
|
|
1147
|
+
}
|
|
1148
|
+
// 🔥 FORÇA O RELOAD DO FEED
|
|
1151
1149
|
setTimeout((/**
|
|
1152
1150
|
* @return {?}
|
|
1153
1151
|
*/
|
|
1154
1152
|
function () {
|
|
1155
|
-
_this.
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1153
|
+
if (_this.feeds) {
|
|
1154
|
+
_this.feeds.forEach((/**
|
|
1155
|
+
* @param {?} feed
|
|
1156
|
+
* @return {?}
|
|
1157
|
+
*/
|
|
1158
|
+
function (feed) { return feed.getFeed(); }));
|
|
1159
|
+
}
|
|
1160
|
+
}));
|
|
1161
|
+
}), 100);
|
|
1159
1162
|
};
|
|
1160
1163
|
/**
|
|
1161
1164
|
* @param {?} id
|