Skip to content

Commit f0bf153

Browse files
perf: Optimize default login method settings
1 parent 29823e9 commit f0bf153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/system/parameter/xpack/PlatformParam.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ onMounted(async () => {
145145
organizations.value = wsRes
146146
const platformStatusRes: any = await queryCategoryStatus()
147147
platformStatusRes.forEach((item: any) => {
148-
if (item.enable) {
148+
if (item.enable && platformMapping[item.name]) {
149149
loginTypeOptions.value.push(platformMapping[item.name])
150150
anyPlatformEnable.value = true
151151
}

0 commit comments

Comments
 (0)