mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 07:03:47 +08:00
f0ea57e30e
This change creates a shallow copy of the public message channels so we don't change the original array while sorting. Without this change the publicMessageChannels getter cache gets invalidated and cached again with the sorted channels array instead, which causes a bug where the sidebar channel list sorting order is updated by activity when user interacts with the chat drawer. |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets |