Explorar o código

Merge branch 'develop' of SEEC-II-FrontEnd-Team/SEEC-II-FrontEnd into master

WuXinyu %!s(int64=7) %!d(string=hai) anos
pai
achega
7fe2221454
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/CheckList/index.vue

+ 2 - 2
src/components/CheckList/index.vue

@@ -44,7 +44,7 @@
       />
       <div
         class="action-section--warning action-section "
-        v-if="item.state === 'PENDING'"
+        v-if="item.state === 'PENDING' && review.state === 'ARGUING'"
       >
         <span
           @click="acceptArgue(item)"
@@ -61,7 +61,7 @@
       </div>
       <div
         class="action-section--primary action-section "
-        v-if="item.state === 'SOLVING'"
+        v-if="item.state === 'SOLVING' && review.state === 'SOLVING'"
       >
         <span
           @click="submitSolution(item)"