Skip to content

Commit

Permalink
fix: [AXIMST-368] Add Unit types
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzniaievdm committed Jan 11, 2024
1 parent 582a2e5 commit a875bd2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
from openedx.core.djangoapps.video_config.toggles import PUBLIC_VIDEO_SHARE
from openedx.core.lib.gating import api as gating_api
from openedx.core.lib.cache_utils import request_cached
from openedx.core.lib.xblock_utils import get_icon
from openedx.core.toggles import ENTRANCE_EXAMS
from xmodule.course_block import DEFAULT_START_DATE
from xmodule.modulestore import EdxJSONEncoder, ModuleStoreEnum
Expand Down Expand Up @@ -1090,6 +1091,7 @@ def create_xblock_info( # lint-amnesty, pylint: disable=too-many-statements
"group_access": xblock.group_access,
"user_partitions": user_partitions,
"show_correctness": xblock.show_correctness,
"xblock_type": get_icon(xblock),
}
)

Expand Down

0 comments on commit a875bd2

Please sign in to comment.