Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 43d49a98

Přidáno uživatelem Jaroslav Hrubý před asi 2 roky(ů)

Modal windows for user edit, delete and assigned documents were implemented

Zobrazit rozdíly:

webapp/components/modals/AssignDocumentModal.tsx
34 34
        }
35 35
    }, [documentsIds, redirecting, role]);
36 36

  
37
    const handleUpload = () => {
37
    const handleUpload = async () => {
38 38
        // console.log(documentsIds, selectedUsers);
39 39
        if (documentsIds && documentsIds.length !== 0) {
40
            annotationController.annotationsPost({
40
            await annotationController.annotationsPost({
41
                // @ts-ignore
41 42
                documentIdList: documentsIds,
42 43
                userIdList: selectedUsers,
43 44
            });

Také k dispozici: Unified diff