Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix(client): keep failed filter state
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 16, 2021
1 parent f5dbdd4 commit 20f8dbf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/peeky-client/src/features/suite/SuitesView.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<script lang="ts">
import { computed, defineProps, ref } from 'vue'
const filterFailed = ref(false)
</script>

<script lang="ts" setup>
import BaseSplitPane from '../BaseSplitPane.vue'
import BaseInput from '../BaseInput.vue'
import SuiteItem from './SuiteItem.vue'
import { SearchIcon } from '@zhuowenli/vue-feather-icons'
import { computed, defineProps, ref } from 'vue'
import { compareStatus } from '../../util/status'
const props = defineProps<{
Expand All @@ -13,7 +18,6 @@ const props = defineProps<{
const searchText = ref('')
const searchReg = computed(() => searchText.value ? new RegExp(searchText.value, 'gi') : null)
const filterFailed = ref(false)
const failedTestCount = computed(() => {
return props.suites.reduce((sum, suite) => {
Expand Down

0 comments on commit 20f8dbf

Please sign in to comment.