Explorar o código

fix show grader notation

hgh hai 1 ano
pai
achega
9939f21129
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/pages/User/Profile/projectInfo.vue

+ 2 - 1
src/pages/User/Profile/projectInfo.vue

@@ -41,7 +41,8 @@
                      :show-edit-button="false"
                      :show-index-button="false"
                      :show-reload-button="false" />
-        <entity-show v-if="projectLoaded && Object.keys(currentUserAttendanceSheet).length > 0 && currentUserAttendanceSheet.notation!==null && currentUserAttendanceSheet.notation!=='' && currentUserAttendanceSheet.notation!=='<br>'"
+        <!--<entity-show v-if="projectLoaded && Object.keys(currentUserAttendanceSheet).length > 0 && currentUserAttendanceSheet.notation!==null && currentUserAttendanceSheet.notation!=='' && currentUserAttendanceSheet.notation!=='<br>'"-->
+        <entity-show v-if="projectLoaded && !project.is_enabled_answering && Object.keys(currentUserAttendanceSheet).length > 0 && currentUserAttendanceSheet.notation!==null && currentUserAttendanceSheet.notation!=='' && currentUserAttendanceSheet.notation!=='<br>'"
                      v-model:value="graderShowInputs"
                      :loaded-data="currentUserAttendanceSheet"
                      :default-layout="false"