mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-25 06:22:19 +00:00
feat(libsql): extend support for 'libsql' in swarm forms and related components
- Updated various swarm form components to include 'libsql' as a valid service type. - Enhanced query and mutation handling for 'libsql' across multiple forms, ensuring comprehensive integration. - Adjusted form schemas and data handling to accommodate 'libsql' service requirements, improving overall functionality.
This commit is contained in:
@@ -42,7 +42,7 @@ interface Props {
|
||||
|
||||
export const UpdateLibsql = ({ libsqlId }: Props) => {
|
||||
const utils = api.useUtils();
|
||||
const { mutateAsync, error, isError, isLoading } =
|
||||
const { mutateAsync, error, isError, isPending } =
|
||||
api.libsql.update.useMutation();
|
||||
const { data } = api.libsql.one.useQuery(
|
||||
{
|
||||
@@ -146,7 +146,7 @@ export const UpdateLibsql = ({ libsqlId }: Props) => {
|
||||
/>
|
||||
<DialogFooter>
|
||||
<Button
|
||||
isLoading={isLoading}
|
||||
isLoading={isPending}
|
||||
form="hook-form-update-libsql"
|
||||
type="submit"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user