Changeset 8dffe02 for reactapp/src/Components/SubjectsAccordion.js
- Timestamp:
- 01/22/23 16:51:43 (21 months ago)
- Branches:
- main
- Parents:
- 9bf1f8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Components/SubjectsAccordion.js
r9bf1f8d r8dffe02 23 23 setOpacity(1); 24 24 try { 25 Promise.all([fetch(`http://192.168.1. 254:8080/public/subjects?studyProgrammeId=${props.title.studyProgrammeId}`),26 fetch(`http://192.168.1. 254:8080/public/study_programme/${props.title.studyProgrammeId}/threadCountForEachSubject`)])25 Promise.all([fetch(`http://192.168.1.108:8080/public/subjects?studyProgrammeId=${props.title.studyProgrammeId}`), 26 fetch(`http://192.168.1.108:8080/public/study_programme/${props.title.studyProgrammeId}/threadCountForEachSubject`)]) 27 27 .then(([resSubjects, counts]) => Promise.all([resSubjects.json(), counts.json()])) 28 28 .then(([dataSubjects, dataCounts]) => {
Note:
See TracChangeset
for help on using the changeset viewer.