Skip to content

Commit

Permalink
Merge pull request #325 from AgenceBio/fix/close-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
thom4parisot authored Feb 23, 2024
2 parents bea7dc7 + 5355bf9 commit 3e018f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Certification/Summary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
</div>

<Teleport to="body">
<SendOffModal :operator="operator" :record="record" v-if="showSendOffModal" v-model="showSendOffModal" @submit="handleSaveAudit" />
<CertificationModal :operator="operator" :record="record" v-if="showCertificationModal" v-model="showCertificationModal" @submit="handleCertify" />
<SendOffModal :operator="operator" :record="record" v-if="showSendOffModal" @close="showSendOffModal = false" @submit="handleSaveAudit" />
<CertificationModal :operator="operator" :record="record" v-if="showCertificationModal" @close="showCertificationModal = false" @submit="handleCertify" />
</Teleport>
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { aoa_to_sheet, sheet_add_aoa } = utils
* @returns {WorkSheet}
*/
function getSheet () {
const { featureCollection, permissions } = this
const { permissions } = this
const sheet = aoa_to_sheet([
[
"Production (code CPF)",
Expand Down
2 changes: 1 addition & 1 deletion src/referentiels/ab.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { afterAll, beforeAll, beforeEach, describe, test, expect, vi } from 'vitest';
import { afterAll, beforeAll, describe, test, expect, vi } from 'vitest';

import { applyValidationRules, certificationDateFin, getConversionLevel, isCertificationImmutable, isABLevel, OPERATOR_RULES, AUDITOR_RULES, CERTIFICATION_STATE } from './ab.js'
import { LEVEL_UNKNOWN, LEVEL_CONVENTIONAL, LEVEL_C1, LEVEL_C2, LEVEL_C3, LEVEL_AB, LEVEL_MAYBE_AB } from './ab.js'
Expand Down

0 comments on commit 3e018f8

Please sign in to comment.