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
package/fesm5/asap-feed-beta.js
CHANGED
|
@@ -888,11 +888,11 @@ var AsapTabFeedComponent = /** @class */ (function () {
|
|
|
888
888
|
function (tabName) {
|
|
889
889
|
var _this = this;
|
|
890
890
|
this.canShow = -1;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
891
|
+
setTimeout((/**
|
|
892
|
+
* @return {?}
|
|
893
|
+
*/
|
|
894
|
+
function () {
|
|
895
|
+
if (tabName == _this.settings.tabs.channel) {
|
|
896
896
|
_this.service.query = {
|
|
897
897
|
searchBy: 'channel_id',
|
|
898
898
|
searchValue: _this.settings.tabs.channel_list.map((/**
|
|
@@ -902,46 +902,45 @@ var AsapTabFeedComponent = /** @class */ (function () {
|
|
|
902
902
|
function (c) { return c.channel_id; })).join(',')
|
|
903
903
|
};
|
|
904
904
|
_this.canShow = 0;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
if (tabName == this.settings.tabs.feed) {
|
|
908
|
-
setTimeout((/**
|
|
909
|
-
* @return {?}
|
|
910
|
-
*/
|
|
911
|
-
function () {
|
|
905
|
+
}
|
|
906
|
+
if (tabName == _this.settings.tabs.feed) {
|
|
912
907
|
_this.service.query = {
|
|
913
908
|
searchBy: 'user_info.id',
|
|
914
909
|
searchValue: _this.global.loggedUser().id,
|
|
915
910
|
typeValue: 'number'
|
|
916
911
|
};
|
|
917
912
|
_this.canShow = 1;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
if (tabName == this.settings.tabs.feed_users) {
|
|
921
|
-
setTimeout((/**
|
|
922
|
-
* @return {?}
|
|
923
|
-
*/
|
|
924
|
-
function () {
|
|
913
|
+
}
|
|
914
|
+
if (tabName == _this.settings.tabs.feed_users) {
|
|
925
915
|
_this.service.query = {
|
|
926
916
|
searchBy: 'user_info.id',
|
|
927
|
-
searchValue: 'all'
|
|
917
|
+
searchValue: 'all',
|
|
918
|
+
typeValue: 'number'
|
|
928
919
|
};
|
|
929
920
|
_this.canShow = 2;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
if (tabName == this.settings.tabs.allFeed) {
|
|
933
|
-
setTimeout((/**
|
|
934
|
-
* @return {?}
|
|
935
|
-
*/
|
|
936
|
-
function () {
|
|
921
|
+
}
|
|
922
|
+
if (tabName == _this.settings.tabs.allFeed) {
|
|
937
923
|
_this.service.query = {
|
|
938
924
|
searchBy: 'user_info.id',
|
|
939
925
|
searchValue: _this.global.loggedUser().id,
|
|
940
926
|
typeValue: 'number'
|
|
941
927
|
};
|
|
942
928
|
_this.canShow = 3;
|
|
943
|
-
}
|
|
944
|
-
|
|
929
|
+
}
|
|
930
|
+
// 🔥 FORÇA O RELOAD DO FEED
|
|
931
|
+
setTimeout((/**
|
|
932
|
+
* @return {?}
|
|
933
|
+
*/
|
|
934
|
+
function () {
|
|
935
|
+
if (_this.feeds) {
|
|
936
|
+
_this.feeds.forEach((/**
|
|
937
|
+
* @param {?} feed
|
|
938
|
+
* @return {?}
|
|
939
|
+
*/
|
|
940
|
+
function (feed) { return feed.getFeed(); }));
|
|
941
|
+
}
|
|
942
|
+
}));
|
|
943
|
+
}), 100);
|
|
945
944
|
};
|
|
946
945
|
/**
|
|
947
946
|
* @param {?} id
|