mirror of https://github.com/fantasticit/think.git
client: fix get isStar
This commit is contained in:
parent
808f7877eb
commit
1777f3f6ec
|
@ -34,11 +34,13 @@ export const WikiCard: React.FC<{ wiki: IWikiWithIsMember; shareMode?: boolean }
|
|||
>
|
||||
{wiki.name.charAt(0)}
|
||||
</Avatar>
|
||||
<div className={styles.rightWrap}>
|
||||
<Space>
|
||||
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
|
||||
</Space>
|
||||
</div>
|
||||
{!shareMode && (
|
||||
<div className={styles.rightWrap}>
|
||||
<Space>
|
||||
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
|
||||
</Space>
|
||||
</div>
|
||||
)}
|
||||
</header>
|
||||
<main>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
|
|
Loading…
Reference in New Issue