mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Rename to useServerLogs
This commit is contained in:
parent
e08de5175d
commit
da31c9856c
2 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ import globalize from 'lib/globalize';
|
|||
import { Alert, Box, Button, FormControlLabel, Stack, Switch, TextField, Typography } from '@mui/material';
|
||||
import { type ActionFunctionArgs, Form, useActionData } from 'react-router-dom';
|
||||
import ServerConnections from 'components/ServerConnections';
|
||||
import { useLogEntries } from 'apps/dashboard/features/logs/api/useLogEntries';
|
||||
import { useServerLogs } from 'apps/dashboard/features/logs/api/useServerLogs';
|
||||
import { useLogOptions } from 'apps/dashboard/features/logs/api/useLogOptions';
|
||||
import type { ServerConfiguration } from '@jellyfin/sdk/lib/generated-client/models/server-configuration';
|
||||
import { ActionData } from 'types/actionData';
|
||||
|
@ -41,7 +41,7 @@ const Logs = () => {
|
|||
const actionData = useActionData() as ActionData | undefined;
|
||||
const [ isSubmitting, setIsSubmitting ] = useState(false);
|
||||
|
||||
const { isPending: isLogEntriesPending, data: logs } = useLogEntries();
|
||||
const { isPending: isLogEntriesPending, data: logs } = useServerLogs();
|
||||
const { isPending: isLogOptionsPending, data: defaultLogOptions } = useLogOptions();
|
||||
const [ loading, setLoading ] = useState(true);
|
||||
const [ logOptions, setLogOptions ] = useState<ServerConfiguration>( {} );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue