File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ let cacheManager = {
160160 options = {
161161 path : "/data/pluginMediaCenterRss/" ,
162162 fileName : "cache_" + this . instanceId + ".txt" ,
163+ content : JSON . stringify ( data ) ,
163164 }
164165 } else {
165166 options = {
Original file line number Diff line number Diff line change 440440 //if settings data contains rssUrl proceed with old logic
441441 if ( ! settings . data . content . feeds ?. length && settings . data . content . rssUrl ) {
442442 cacheManager . getItem ( ) . then ( ( data ) => {
443- if ( ! data || ! WidgetHome . data . content || data . rssUrl != WidgetHome . data . content . rssUrl ) return ;
443+ if ( ! data || ! WidgetHome . data . content || data . rssUrl != WidgetHome . data . content . rssUrl ) {
444+ WidgetHome . isItems = false ;
445+ WidgetHome . loading = false ;
446+ if ( ! $scope . $$phase ) $scope . $digest ( ) ;
447+ return ;
448+ }
444449 getFeedDataSuccess ( data ) ;
445450 } ) ;
446451 currentRssUrl = WidgetHome . data . content . rssUrl ;
You can’t perform that action at this time.
0 commit comments