asap-feed-beta 12.8.1 → 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 +28 -29
- 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 +29 -30
- package/esm5/lib/tab-feed/asap-tab-feed.component.js +29 -30
- package/fesm2015/asap-feed-beta.js +28 -29
- package/fesm2015/asap-feed-beta.js.map +1 -1
- package/fesm5/asap-feed-beta.js +28 -29
- 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,46 +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
|
-
if (tabName == this.settings.tabs.allFeed) {
|
|
1151
|
-
setTimeout((/**
|
|
1152
|
-
* @return {?}
|
|
1153
|
-
*/
|
|
1154
|
-
function () {
|
|
1139
|
+
}
|
|
1140
|
+
if (tabName == _this.settings.tabs.allFeed) {
|
|
1155
1141
|
_this.service.query = {
|
|
1156
1142
|
searchBy: 'user_info.id',
|
|
1157
1143
|
searchValue: _this.global.loggedUser().id,
|
|
1158
1144
|
typeValue: 'number'
|
|
1159
1145
|
};
|
|
1160
1146
|
_this.canShow = 3;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1147
|
+
}
|
|
1148
|
+
// 🔥 FORÇA O RELOAD DO FEED
|
|
1149
|
+
setTimeout((/**
|
|
1150
|
+
* @return {?}
|
|
1151
|
+
*/
|
|
1152
|
+
function () {
|
|
1153
|
+
if (_this.feeds) {
|
|
1154
|
+
_this.feeds.forEach((/**
|
|
1155
|
+
* @param {?} feed
|
|
1156
|
+
* @return {?}
|
|
1157
|
+
*/
|
|
1158
|
+
function (feed) { return feed.getFeed(); }));
|
|
1159
|
+
}
|
|
1160
|
+
}));
|
|
1161
|
+
}), 100);
|
|
1163
1162
|
};
|
|
1164
1163
|
/**
|
|
1165
1164
|
* @param {?} id
|