Skip to content

Commit a5c256d

Browse files
committed
fix: restore republish on unit visibility change from outline configure modal
1 parent 9c5a4e4 commit a5c256d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/course-outline/data/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export async function configureCourseSubsection(
318318
*/
319319
export async function configureCourseUnit(variables: ConfigureUnitData): Promise<object> {
320320
const body = {
321-
publish: variables.groupAccess ? null : variables.type,
321+
publish: variables.type,
322322
...(variables.type === PUBLISH_TYPES.republish ?
323323
{
324324
metadata: {

0 commit comments

Comments
 (0)