Skip to content

Commit fe0c1b2

Browse files
authored
Merge pull request #2780 from tekdi/release-1.15.0
Release 1.15.0 to teacher prod
2 parents 8e48745 + 82d5383 commit fe0c1b2

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/admin-app-repo/src/pages/user-content-creator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const ContentCreator = () => {
223223
);
224224
const staticFilter = {
225225
role: RoleName.CONTENT_CREATOR,
226-
tenantId: storedUserData.tenantData[0].tenantId,
226+
// tenantId: storedUserData.tenantData[0].tenantId,
227227
};
228228
const { sortBy } = formData;
229229
const staticSort = ['firstName', sortBy || 'asc'];

apps/admin-app-repo/src/pages/user-content-reviewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const ContentReviewer = () => {
223223
);
224224
const staticFilter = {
225225
role: RoleName.CONTENT_REVIEWER,
226-
tenantId: storedUserData.tenantData[0].tenantId,
226+
// tenantId: storedUserData.tenantData[0].tenantId,
227227
};
228228
const { sortBy } = formData;
229229
const staticSort = ['firstName', sortBy || 'asc'];

apps/admin-app-repo/src/pages/user-mobilizer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ const Mobilizer = () => {
485485
);
486486
const staticFilter = {
487487
role: RoleName.MOBILIZER,
488-
tenantId: storedUserData.tenantData[0].tenantId,
488+
// tenantId: storedUserData.tenantData[0].tenantId,
489489
};
490490
const { sortBy } = formData;
491491
const staticSort = ['firstName', sortBy || 'asc'];

apps/admin-app-repo/src/pages/user-state-lead.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const StateLead = () => {
223223
);
224224
const staticFilter = {
225225
role: RoleName.STATE_LEAD,
226-
tenantId: storedUserData.tenantData[0].tenantId,
226+
// tenantId: storedUserData.tenantData[0].tenantId,
227227
};
228228
const { sortBy } = formData;
229229
const staticSort = ['firstName', sortBy || 'asc'];

libs/shared-lib-v2/src/DynamicForm/components/DynamicForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ const DynamicForm = forwardRef(({
820820
// setFormData;
821821
//fix for auto submit and render
822822
if (!prefilledFormData || Object.keys(prefilledFormData).length === 0) {
823-
if (isCallSubmitInHandle == undefined || isCallSubmitInHandle == null || isCallSubmitInHandle == false)
823+
if (isCallSubmitInHandle == undefined || isCallSubmitInHandle == null || isCallSubmitInHandle == false || type === 'centers')
824824
{
825825
if (type !== 'centers') prefilledFormData = { test: 'test' };
826826
else prefilledFormData = { type: 'COHORT' };

0 commit comments

Comments
 (0)