VBV-444: Bugfix circle in import file
This commit is contained in:
parent
712e93d6b4
commit
95479ae5e2
|
|
@ -149,7 +149,7 @@ const sendFeedback = () => {
|
|||
<p v-if="stepNo === 0" class="mt-10">
|
||||
{{
|
||||
$t("feedback.intro", {
|
||||
name: `${courseSessionsStore.circleExperts[0].first_name} ${courseSessionsStore.circleExperts[0].last_name}`,
|
||||
name: `${courseSessionsStore.circleExperts[0]?.first_name} ${courseSessionsStore.circleExperts[0]?.last_name}`,
|
||||
})
|
||||
}}
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@ if (appEnv.startsWith("prod")) {
|
|||
} else {
|
||||
log.setLevel("trace");
|
||||
}
|
||||
log.warn(`application started appEnv=${appEnv}`);
|
||||
|
||||
const commit = "VBV_VERSION_BUILD_NUMBER_VBV";
|
||||
log.warn(`application started appEnv=${appEnv}, build=${commit}`);
|
||||
|
||||
const i18n = setupI18n();
|
||||
const app = createApp(App);
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ def create_or_update_trainer(course: Course, data: Dict[str, Any]):
|
|||
|
||||
# print(circle_name, groups)
|
||||
for group in groups:
|
||||
import_id = f"{data['Generation'].strip()} {group}"
|
||||
course_session = CourseSession.objects.filter(
|
||||
import_id=import_id, group=group, course=course
|
||||
).first()
|
||||
|
|
|
|||
Loading…
Reference in New Issue