From 0669830a5b5a0093a91b2ad4e5902bb7cbf5ac34 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Sat, 9 Nov 2024 21:46:56 +0900 Subject: [PATCH] FIX: broken post in styleguide (#29669) The base `transformedPost` in dummy-data was missing the topic object. --- .../styleguide/assets/javascripts/discourse/lib/dummy-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js b/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js index 980e5a9f31d..7e17766ee0f 100644 --- a/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js +++ b/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js @@ -169,11 +169,11 @@ export function createData(store) { canManage: true, canDelete: true, post_number: 1, + topic: createTopic(), }; const postModel = store.createRecord("post", { ...transformedPost, - topic: createTopic(), }); _data = {