From bc86a5347277294d7c7f0641d51d1b7a9ae13239 Mon Sep 17 00:00:00 2001 From: natsuto6 <79001972+natsuto6@users.noreply.github.com> Date: Thu, 28 Dec 2023 23:49:39 +0900 Subject: [PATCH 01/27] =?UTF-8?q?user-activity-counts.vue=E3=82=92React?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UserActivityCounts.jsx | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 app/javascript/components/UserActivityCounts.jsx diff --git a/app/javascript/components/UserActivityCounts.jsx b/app/javascript/components/UserActivityCounts.jsx new file mode 100644 index 00000000000..8fdf7157f96 --- /dev/null +++ b/app/javascript/components/UserActivityCounts.jsx @@ -0,0 +1,69 @@ +import React from 'react' + +export default function UserActivityCounts({ user }) { + if (!user.student_or_trainee) { + return null + } + + return ( +
{paragraph.text}
+ ))} ++ {generationID}期のユーザー一覧はありません +
+