1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-22 14:49:43 +02:00

Small UI improvements, update dependencies

This commit is contained in:
Maksim Eltyshev 2019-10-16 22:48:24 +05:00
parent d770470371
commit 1f38c6073c
17 changed files with 99 additions and 103 deletions

View file

@ -33,15 +33,19 @@ const Project = React.memo(
<Grid className={styles.header}>
<Grid.Row>
<Grid.Column>
<EditPopup
defaultData={{
name,
}}
onUpdate={onUpdate}
onDelete={onDelete}
>
<Button content={name} disabled={!isEditable} className={styles.name} />
</EditPopup>
{isEditable ? (
<EditPopup
defaultData={{
name,
}}
onUpdate={onUpdate}
onDelete={onDelete}
>
<Button content={name} disabled={!isEditable} className={styles.name} />
</EditPopup>
) : (
<span className={styles.name}>{name}</span>
)}
<span className={styles.users}>
{memberships.map((membership) => (
<span key={membership.id} className={styles.user}>