client: fix get isStar

This commit is contained in:
fantasticit 2022-06-30 14:48:51 +08:00
parent 808f7877eb
commit 1777f3f6ec
1 changed files with 7 additions and 5 deletions

View File

@ -34,11 +34,13 @@ export const WikiCard: React.FC<{ wiki: IWikiWithIsMember; shareMode?: boolean }
> >
{wiki.name.charAt(0)} {wiki.name.charAt(0)}
</Avatar> </Avatar>
<div className={styles.rightWrap}> {!shareMode && (
<Space> <div className={styles.rightWrap}>
<WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} /> <Space>
</Space> <WikiStar organizationId={wiki.organizationId} wikiId={wiki.id} />
</div> </Space>
</div>
)}
</header> </header>
<main> <main>
<div style={{ marginBottom: 12 }}> <div style={{ marginBottom: 12 }}>