Skip to content

Commit

Permalink
Rename vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Feb 24, 2025
1 parent 2babf7b commit 12bff7a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div>
<ConfidenceList
<ProtocolList
class="margin-medium-bottom"
:list="confidences"
:list="protocols"
@select="addItem"
/>

Expand Down Expand Up @@ -69,7 +69,7 @@

<script setup>
import { computed, ref } from 'vue'
import ConfidenceList from './ProtocolList.vue'
import ProtocolList from './ProtocolList.vue'
import VBtn from '@/components/ui/VBtn/index.vue'
import VIcon from '@/components/ui/VIcon/index.vue'
Expand All @@ -84,7 +84,7 @@ const emit = defineEmits(['select'])
const selected = ref([])
const isFilled = computed(() => selected.value.length === 2)
const confidences = computed(() =>
const protocols = computed(() =>
props.list.filter((item) => !selected.value.some((c) => c.id == item.id))
)
Expand Down

0 comments on commit 12bff7a

Please sign in to comment.