Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1c5b6ef

Browse files
committed
fix: cleanup
1 parentb01e5d3 commit1c5b6ef

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

‎site/src/pages/DeploymentSettingsPage/IdpOrgSyncPage/IdpOrgSyncPageView.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ import type React from "react";
3939
import{useState}from"react";
4040
importtype{FC}from"react";
4141
import{docs}from"utils/docs";
42-
import{OrganizationPills}from"./OrganizationPills";
4342
import*asYupfrom"yup";
43+
import{OrganizationPills}from"./OrganizationPills";
4444

4545
interfaceIdpSyncPageViewProps{
4646
organizationSyncSettings:OrganizationSyncSettings|undefined;
@@ -80,10 +80,6 @@ export const IdpOrgSyncPageView: FC<IdpSyncPageViewProps> = ({
8080
?Object.entries(form.values.mapping).length
8181
:0;
8282

83-
if(!organizationSyncSettings){
84-
return<Loader/>;
85-
}
86-
8783
constgetOrgNames=(orgIds:readonlystring[])=>{
8884
returnorgIds.map(
8985
(orgId)=>
@@ -251,8 +247,6 @@ interface IdpMappingTableProps {
251247
}
252248

253249
constIdpMappingTable:FC<IdpMappingTableProps>=({ isEmpty, children})=>{
254-
constisLoading=false;
255-
256250
return(
257251
<TableContainer>
258252
<Table>
@@ -265,10 +259,6 @@ const IdpMappingTable: FC<IdpMappingTableProps> = ({ isEmpty, children }) => {
265259
</TableHead>
266260
<TableBody>
267261
<ChooseOne>
268-
<Condcondition={isLoading}>
269-
<TableLoader/>
270-
</Cond>
271-
272262
<Condcondition={isEmpty}>
273263
<TableRow>
274264
<TableCellcolSpan={999}>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp