From 9d6e1a020d18e38ef3dd39a8ba50ef3938598e36 Mon Sep 17 00:00:00 2001 From: KMY Date: Fri, 22 Sep 2023 20:13:03 +0900 Subject: [PATCH 1/2] Fix circle select is not working --- .../mastodon/features/compose/components/circle_select.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/compose/components/circle_select.jsx b/app/javascript/mastodon/features/compose/components/circle_select.jsx index 251e095f55285b..722137d08113dc 100644 --- a/app/javascript/mastodon/features/compose/components/circle_select.jsx +++ b/app/javascript/mastodon/features/compose/components/circle_select.jsx @@ -31,8 +31,8 @@ class CircleSelect extends PureComponent { return null; } - const listOptions = circles.toArray().filter((circle) => circle[1]).map((circle) => { - return { value: circle[1].get('id'), label: circle[1].get('title') }; + const listOptions = circles.toArray().filter((circle) => circle).map((circle) => { + return { value: circle.get('id'), label: circle.get('title') }; }); const listValue = listOptions.find((opt) => opt.value === circleId); From f9a6ed9e0f66a71f82b3f37a7d7286024a7eb5bd Mon Sep 17 00:00:00 2001 From: KMY Date: Fri, 22 Sep 2023 20:14:16 +0900 Subject: [PATCH 2/2] Bump version to 5.1 --- lib/mastodon/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 16bb048f3a8506..4e9032b40a1194 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -9,7 +9,7 @@ def kmyblue_major end def kmyblue_minor - 0 + 1 end def kmyblue_flag