mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:45:19 +08:00

Should fix https://meta.discourse.org/t/-/285768. Appending without cloning was causing the item to be removed from the DOM but on a 1-item grid we skip the rest of the grid's rendering, hence the item was never re-inserted. Cloning ensures we don't remove the item during processing (it does get removed later on when rendering the grid's columns).