1
0

feat: add display of kanban card attachment image

This commit is contained in:
kolaente
2022-10-02 13:01:29 +02:00
parent eae7cc5a6b
commit 3d88fdaadd
4 changed files with 91 additions and 56 deletions

View File

@ -5,6 +5,8 @@ import type { IUser } from '@/modelTypes/IUser'
import type { IFile } from '@/modelTypes/IFile'
import type { IAttachment } from '@/modelTypes/IAttachment'
export const SUPPORTED_IMAGE_SUFFIX = ['.jpg', '.png', '.bmp', '.gif']
export default class AttachmentModel extends AbstractModel<IAttachment> implements IAttachment {
id = 0
taskId = 0