@nualang/nualang-ui-components 0.1.1277 → 0.1.1278

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.
@@ -980,7 +980,7 @@ function Classroom({
980
980
  })
981
981
  })
982
982
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
983
- children: createdDiscussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
983
+ children: isCreator && createdDiscussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
984
984
  id: "discussGroupedDiscussions",
985
985
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MeetingPromptsList.default, {
986
986
  t: t,
@@ -1012,7 +1012,7 @@ function Classroom({
1012
1012
  handleArchiveSubmissions: handleArchiveSubmissions
1013
1013
  })
1014
1014
  })
1015
- }), discussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1015
+ }), !isCreator && discussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1016
1016
  id: "discussScheduled",
1017
1017
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScheduleListCards.default, {
1018
1018
  t: t,
@@ -1023,7 +1023,7 @@ function Classroom({
1023
1023
  getSchedules: getSchedules,
1024
1024
  scheduleListData: discussions
1025
1025
  })
1026
- }), recordingDiscussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1026
+ }), !isCreator && recordingDiscussions?.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1027
1027
  id: "discussRecorded",
1028
1028
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RecordingListCards.default, {
1029
1029
  t: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1277",
3
+ "version": "0.1.1278",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",