Skip to content

Commit 0f06f99

Browse files
committed
UI Cleanup
1 parent df0ff42 commit 0f06f99

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ui/src/views/auth/Login.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@
153153
<a-tab-pane key="oauth" :disabled="!socialLogin">
154154
<template #tab>
155155
<span style="display: inline-flex; align-items: center; gap: 4px;">
156-
<img src="/assets/github.svg" style="width: 16px; height: 16px; display: block;" />
157-
<img src="/assets/google.svg" style="width: 16px; height: 16px; display: block;" />
156+
<img src="/assets/github.svg" alt="GitHub" style="width: 16px; height: 16px; display: block;" />
157+
<img src="/assets/google.svg" alt="Google" style="width: 16px; height: 16px; display: block;" />
158158
<span>External</span>
159159
</span>
160160
</template>
@@ -181,8 +181,8 @@
181181
:href="getGitHubUrl(from)"
182182
class="auth-btn github-auth"
183183
style="height: 38px; width: 185px; padding: 0; margin-bottom: 5px;" >
184-
<img src="/assets/github.svg" style="width: 32px; padding: 5px" />
185-
<a-typography-text>Sign in with Github</a-typography-text>
184+
<img src="/assets/github.svg" alt="GitHub" style="width: 32px; padding: 5px" />
185+
<a-typography-text>Sign in with GitHub</a-typography-text>
186186
</a-button>
187187
</div>
188188
<div class="social-auth" v-if="oauthGoogleProvider">
@@ -193,7 +193,7 @@
193193
:href="getGoogleUrl(from)"
194194
class="auth-btn google-auth"
195195
style="height: 38px; width: 185px; padding: 0" >
196-
<img src="/assets/google.svg" style="width: 32px; padding: 5px" />
196+
<img src="/assets/google.svg" alt="Google" style="width: 32px; padding: 5px" />
197197
<a-typography-text>Sign in with Google</a-typography-text>
198198
</a-button>
199199
</div>
@@ -361,8 +361,6 @@ export default {
361361
const params = {}
362362
if (domain) {
363363
params.domain = domain
364-
}
365-
if (domain) {
366364
this.oauthLoading = true
367365
}
368366
getAPI('listOauthProvider', params).then(response => {

0 commit comments

Comments
 (0)