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)}
|
{wiki.name.charAt(0)}
|
||||||
</Avatar>
|
</Avatar>
|
||||||
|
{!shareMode && (
|
||||||
<div className={styles.rightWrap}>
|
<div className={styles.rightWrap}>
|
||||||
<Space>
|
<Space>
|
||||||
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
|
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
|
||||||
</Space>
|
</Space>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<div style={{ marginBottom: 12 }}>
|
<div style={{ marginBottom: 12 }}>
|
||||||
|
|
Loading…
Reference in New Issue