This commit is contained in:
@@ -111,7 +111,9 @@ export default ({ user }: Props) => {
|
||||
</Button>
|
||||
<TabGroup>
|
||||
<Tab name="関聯">
|
||||
<PostList posts={post.related} />
|
||||
{post.related.length > 0
|
||||
? <PostList posts={post.related} />
|
||||
: 'まだないよ(笑)'}
|
||||
</Tab>
|
||||
{['admin', 'member'].some (r => user?.role === r) && (
|
||||
<Tab name="編輯">
|
||||
|
||||
Reference in New Issue
Block a user