filter histories if filter.length > 2

This commit is contained in:
Ahmed Awan
2023-06-16 11:07:43 -04:00
committed by Dannon Baker
parent 4df2c54106
commit 03ebf774ca
@@ -116,7 +116,7 @@ watch(
const filtered: Ref<HistorySummary[]> = computed(() => {
let filteredHistories: HistorySummary[] = [];
if (!filter.value) {
if (!validFilter.value) {
filteredHistories = historiesProxy.value;
} else {
const filters = HistoriesFilters.getFiltersForText(filter.value);