mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Allow hiding of create team button.
This commit is contained in:
parent
4625a335a0
commit
54ace15338
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ export function TeamJoinForm({ onSave, onClose }: { onSave: () => void; onClose:
|
|||
const { mutate, error } = useMutation({ mutationFn: (data: any) => post('/teams/join', data) });
|
||||
const ref = useRef(null);
|
||||
|
||||
const handleSubmit = async data => {
|
||||
const handleSubmit = async (data: any) => {
|
||||
mutate(data, {
|
||||
onSuccess: async () => {
|
||||
setValue('teams:members', Date.now());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue