@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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1250",
3
+ "version": "0.1.1251",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",