-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combined lessons, quizzes, attachments into 'activities' array in coo…
…peration store #2085 (#2168) * Combined lessons, quizzes, attachments into 'activities' array in cooperation store #2085 * Rewrote spec for CooperationActivitiesList.tsx container #2075 * Added spec for "CourseSectionContainer" container #2071 * Added spec for "CourseSectionsList" container #2072
- Loading branch information
1 parent
f1d3e4a
commit 28ced44
Showing
19 changed files
with
408 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 2 additions & 11 deletions
13
...ainers/my-cooperations/cooperation-activities-list/CooperationActivitiesList.constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
import { CourseSection, ResourcesTabsEnum } from '~/types' | ||
import { CourseSection } from '~/types' | ||
|
||
export const initialCooperationSectionData: CourseSection = { | ||
id: '', | ||
title: '', | ||
description: '', | ||
lessons: [], | ||
quizzes: [], | ||
attachments: [], | ||
order: [] | ||
activities: [] | ||
} | ||
|
||
export const COOPERATION_RESOURCE_TYPES = [ | ||
ResourcesTabsEnum.Lessons, | ||
ResourcesTabsEnum.Quizzes, | ||
ResourcesTabsEnum.Attachments | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.