Skip to content

Commit

Permalink
default to displaying all flowsheets on flowsheet list
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Oct 31, 2023
1 parent 78462f8 commit 62ce56f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace';


const CATEGORIES = {
"Desalination": [
// "Desalination": [

],
// ],
"Wastewater Recovery": [
"amo 1690",
"biomembrane filtration",
Expand Down Expand Up @@ -39,7 +39,7 @@ export default function FlowsheetsListTable(props) {
const [ sortKey, setSortKey ] = useState("name")
const [ sortDirection, setSortDirection ] = useState("ascending")
const [ tableRows, setTableRows ] = useState([])
const [ category, setCategory ] = useState("")
const [ category, setCategory ] = useState("all")

useEffect(() => {
if (category === "all" || category === "") setTableRows([...props.rows])
Expand Down

0 comments on commit 62ce56f

Please sign in to comment.