mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: when synchornizing state pull tags
In some cases we may want topic tracking state to keep track of tags this small change ensures we do not remove them if they are already in place
This commit is contained in:
@@ -354,6 +354,10 @@ const TopicTrackingState = EmberObject.extend({
|
||||
row.category_id = topic.category.id;
|
||||
}
|
||||
|
||||
if (topic.tags) {
|
||||
row.tags = topic.tags;
|
||||
}
|
||||
|
||||
tracker.states["t" + topic.id] = row;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user