forked from Ivasoft/mattermost-mobile
Do not show favorites category if it only contain archived channels (#6881)
This commit is contained in:
@@ -58,7 +58,7 @@ declare class CategoryModel extends Model {
|
||||
@lazy myChannels: Query<MyChannelModel>;
|
||||
|
||||
/** hasChannels : Whether the category has any channels */
|
||||
@lazy hasChannels: Observable<boolean>;
|
||||
observeHasChannels(canViewArchived: boolean): Observable<boolean>;
|
||||
|
||||
/** toCategoryWithChannels returns a map of the Category with an array of ordered channel ids */
|
||||
toCategoryWithChannels(): Promise<CategoryWithChannels>;
|
||||
|
||||
Reference in New Issue
Block a user