make TimelineCache::timelines private
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -632,9 +632,7 @@ pub fn render_add_column_routes(
|
||||
.router_mut()
|
||||
.route_to_replaced(Route::timeline(timeline.kind.clone()));
|
||||
|
||||
app.timeline_cache
|
||||
.timelines
|
||||
.insert(timeline.kind.clone(), timeline);
|
||||
app.timeline_cache.insert(timeline.kind.clone(), timeline);
|
||||
}
|
||||
|
||||
AddColumnResponse::Algo(algo_option) => match algo_option {
|
||||
@@ -674,9 +672,7 @@ pub fn render_add_column_routes(
|
||||
.router_mut()
|
||||
.route_to_replaced(Route::timeline(timeline.kind.clone()));
|
||||
|
||||
app.timeline_cache
|
||||
.timelines
|
||||
.insert(timeline.kind.clone(), timeline);
|
||||
app.timeline_cache.insert(timeline.kind.clone(), timeline);
|
||||
} else {
|
||||
// we couldn't fetch the timeline yet... let's let
|
||||
// the user know ?
|
||||
|
||||
Reference in New Issue
Block a user