@nualang/nualang-ui-components 0.1.1250 → 0.1.1251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -240,7 +240,7 @@ function Progress({
|
|
|
240
240
|
const searchParams = (0, _utils2.searchStringToObj)(window.location.search);
|
|
241
241
|
const courseId = searchParams.courseId;
|
|
242
242
|
const assignmentId = searchParams.assignmentId;
|
|
243
|
-
if (searchParams.reportType && reportTypes.includes(searchParams.reportType) && reportType !== searchParams.reportType) {
|
|
243
|
+
if (searchParams.reportType && !reportType && reportTypes.includes(searchParams.reportType) && reportType !== searchParams.reportType) {
|
|
244
244
|
setReportType(searchParams.reportType);
|
|
245
245
|
}
|
|
246
246
|
if (assignmentId && !selectedAssignment && assignments && assignments.length) {
|