mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 14:49:43 +02:00
Add attachment popup, hide attachments if more than 4
This commit is contained in:
parent
844b3ab8f1
commit
a9f2948672
8 changed files with 134 additions and 27 deletions
|
@ -9,8 +9,8 @@ import NameField from './NameField';
|
|||
import EditDescription from './EditDescription';
|
||||
import Tasks from './Tasks';
|
||||
import Attachments from './Attachments';
|
||||
import AddAttachment from './AddAttachment';
|
||||
import AddAttachmentZone from './AddAttachmentZone';
|
||||
import AddAttachmentPopup from './AddAttachmentPopup';
|
||||
import Actions from './Actions';
|
||||
import User from '../User';
|
||||
import Label from '../Label';
|
||||
|
@ -337,12 +337,12 @@ const CardModal = React.memo(
|
|||
{t('common.timer')}
|
||||
</Button>
|
||||
</EditTimerPopup>
|
||||
<AddAttachment onCreate={onAttachmentCreate}>
|
||||
<AddAttachmentPopup onCreate={onAttachmentCreate}>
|
||||
<Button fluid className={styles.actionButton}>
|
||||
<Icon name="attach" className={styles.actionIcon} />
|
||||
{t('common.attachment')}
|
||||
</Button>
|
||||
</AddAttachment>
|
||||
</AddAttachmentPopup>
|
||||
</div>
|
||||
<div className={styles.actions}>
|
||||
<span className={styles.actionsTitle}>{t('common.actions')}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue