Add board selector to top navigation

This commit is contained in:
Mike Cao committed 2026-02-12 17:26:52 -08:00
1 parent a1f3ad89f6
commit e2b391af28
5 files changed
+128 -6

No files matched your search

+5 -1
View File
@@ -1,5 +1,5 @@
import { Icon, ListItem, Row, Select, type SelectProps, Text } from '@umami/react-zen';
import { useState } from 'react';
import { useEffect, useState } from 'react';
import { Empty } from '@/components/common/Empty';
import {
useLoginQuery,
@@ -35,6 +35,10 @@ export function WebsiteSelect({
);
const listItems: { id: string; name: string }[] = data?.data || [];
useEffect(() => {
setName(website?.name);
}, [website?.name]);
const handleSearch = (value: string) => {
setSearch(value);
};