UX: Add sidebar DM list back when public channels are disabled (#28301)
This commit is contained in:
parent
df5561d780
commit
206bbb4255
|
@ -17,13 +17,7 @@ export default class ChatController extends Controller {
|
|||
if (this.shouldUseCoreSidebar) {
|
||||
return false;
|
||||
}
|
||||
if (
|
||||
this.publicMessageChannelsEmpty &&
|
||||
this.enabledRouteCount === 1 &&
|
||||
this.chat.userCanAccessDirectMessages
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue