diff --git a/web/src/HelmReleases.jsx b/web/src/HelmReleases.jsx
index b356f50..b22ecd0 100644
--- a/web/src/HelmReleases.jsx
+++ b/web/src/HelmReleases.jsx
@@ -1,10 +1,12 @@
import React, { useMemo, useState } from 'react';
import { HelmRelease } from "./HelmRelease"
import { filterResources } from './utils.js';
+import FilterBar from './FilterBar.js';
export function HelmReleases(props) {
const { capacitorClient, helmReleases, targetReference, handleNavigationSelect } = props
- const [filter, setFilter] = useState(false)
+ const [filterErrors, setFilterErrors] = useState(false)
+ const [filters, setFilters] = useState([])
const sortedHelmReleases = useMemo(() => {
if (!helmReleases) {
return null;
@@ -13,12 +15,17 @@ export function HelmReleases(props) {
return [...helmReleases].sort((a, b) => a.metadata.name.localeCompare(b.metadata.name));
}, [helmReleases]);
- const filteredHelmReleases = filterResources(sortedHelmReleases, filter)
+ const filteredHelmReleases = filterResources(sortedHelmReleases, filters, filterErrors)
return (
-