fix: loading of credential form

This commit is contained in:
JzoNg
2024-11-28 17:48:28 +08:00
parent be7fa93ffc
commit 6a500edf4d
2 changed files with 12 additions and 4 deletions

View File

@ -44,7 +44,7 @@ const ActionList = ({
setShowSettingAuth(false)
}
const { mutate: updatePermission } = useUpdateProviderCredentials({
const { mutate: updatePermission, isPending } = useUpdateProviderCredentials({
onSuccess: handleCredentialSettingUpdate,
})
@ -102,6 +102,7 @@ const ActionList = ({
credentials: value,
})}
onRemove={async () => removePermission(provider.name)}
isSaving={isPending}
/>
)}
</div>