瀏覽代碼

fix show grader notation

hgh 1 年之前
父節點
當前提交
9939f21129
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  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"