Skip to content

Commit

Permalink
feat: add configration route for auth provider item (#4635)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area console
/kind improvement
/milestone 2.10.x

#### What this PR does / why we need it:

为认证方式添加更直观的配置页面入口

<img width="1661" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/a7f86d5b-caab-4ac1-9a12-2bb2f5b5f8fb">

#### Which issue(s) this PR fixes:

Fixes #4634 

#### Does this PR introduce a user-facing change?

```release-note
为 Console 端认证方式管理添加更直观的配置页面入口
```
  • Loading branch information
ruibaby authored Sep 27, 2023
1 parent 1f0cfc1 commit 9b310ca
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { apiClient } from "@/utils/api-client";
import type { ListedAuthProvider } from "@halo-dev/api-client";
import {
Dialog,
IconSettings,
Toast,
VAvatar,
VEntity,
Expand Down Expand Up @@ -93,6 +94,19 @@ const handleChangeStatus = async () => {
</div>
</template>
</VEntityField>
<VEntityField>
<template #description>
<RouterLink
class="cursor-pointer rounded p-1 text-gray-600 transition-all hover:text-blue-600 group-hover:bg-gray-200/60"
:to="{
name: 'AuthProviderDetail',
params: { name: authProvider.name },
}"
>
<IconSettings />
</RouterLink>
</template>
</VEntityField>
</template>
</VEntity>
</template>

0 comments on commit 9b310ca

Please sign in to comment.