Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(src-components): rename files to common naming style #1351

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
729ca05
fix(src-components): renamed files in src/components folder to common…
lavanya-bmw Nov 19, 2024
df0c1c1
fix(src-components): renamed files in src/components folder to common…
lavanya-bmw Nov 19, 2024
421bf6d
fix(src-components): renamed files in src/components folder to common…
lavanya-bmw Nov 19, 2024
873a3fe
fix(src-components): renamed files in src/components folder to common…
lavanya-bmw Nov 19, 2024
647e2dd
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 21, 2024
ea1f15c
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Nov 22, 2024
5e5cbfd
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 25, 2024
5769fb0
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 27, 2024
d7a1831
fix(src-components): removed changelog entry
lavanya-bmw Nov 27, 2024
c4c301e
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 27, 2024
4731a4b
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 27, 2024
bc06f90
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 27, 2024
ab36cf4
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 28, 2024
3577c8c
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 28, 2024
6641012
fix(src-components): fixed sonarcloud issues
lavanya-bmw Nov 28, 2024
cccc105
fix(src-components): fixed sonarcloud issues
lavanya-bmw Dec 2, 2024
4d86838
fix(src-components): fixed sonarcloud issues
lavanya-bmw Dec 2, 2024
899967d
fix(src-components): fixed sonarcloud issues
lavanya-bmw Dec 2, 2024
0c663ca
fix(src-components): fixed sonarcloud issues
lavanya-bmw Dec 2, 2024
6486591
fix(src-components): fixed sonarcloud issues
lavanya-bmw Dec 2, 2024
216372b
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 3, 2024
b1d16c6
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 4, 2024
51c5168
fix(src-components): addressed feedback comments
lavanya-bmw Dec 8, 2024
31773f1
fix(src-components): addressed feedback comments
lavanya-bmw Dec 9, 2024
b3e1344
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 10, 2024
ce37e89
fix(src-components): fixed sonar issues
lavanya-bmw Dec 10, 2024
759db8e
fix(src-components): added comment for code
lavanya-bmw Dec 10, 2024
7b929a3
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 12, 2024
1b6ff4a
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 13, 2024
e8cc593
Merge branch 'main' of https://github.com/lavanya-bmw/portal-frontend…
lavanya-bmw Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,36 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABT1JREFUaEPlWT1MY0cQ/ubZkEhJ4TRJS9oIg9FhpFSBpDgp8SNcF0xxRkkPaS8Fpri0QJ8I7iTs64AzKZNAFQkjYWyU9qBMmoCUSLnEZqJ9frbfz+6+fTa6QLKlPW9nvtnZ+WZmCQMu3kQKr2EFQAGECZrH+YBbxvqcYkkHhLmMaTA2AYw4fxFmaB4Hg+wZ99u+AXAJawCWfQrvAgA3ZH4EkAl5604AKGELwEPpUd8RAC+6MR9EcUcAsPKi/R8B7PyUGUkmmw+JaITZzWbAJZgOmi1r78H7NW1ajpWFeBsZEE5u4gSE4UNDrRVmFCJS567FrdVPpn6uyeSMAXAZK2AUtcoMQmjnJJNKNFsrFEzBUQTAtGxP1TfC1y7iQy5jxCWr6SgdILyrY+Lvjt7LsJXY8YRK5JZeASJs5SYbi77fdDvwNpZAjtdTBpquKK+Wq1RHVwDSn6CBEhBv2JNnXQKVhpBDVq9jDdHx2VPJWKQFhyN8S3j9mpKbAIeJz8RgqQzP2Nkzp2QJAdAyrVzhlSjkKI/d4N+Vo7ElEK/3baf6wwM725gJAejD+EMQCsG4b6fGlijyou9Nz8hDAjlOYPAcgA90wIeH6Z374/VffSfAJQhvLRl4THi9SHlH3rdcr5veGzBwRYSCPdnwnWDlKL0FUpQsQqNFs/a9eqULwC2NRZEWtU5BmAt5/SSTSjYdrwvvGS0C9v5OJgoPJmqXsg8qx+kaGOOy/wg0n8vWn3kB7ILxqVYzY5UWwlxQOU7PuanWJFs5XrdAxVy2rr0flePRdTDJI8LlBQcAP8UbSOL3CONDWUaQUlyvAzhsNhOFYIng8I3IKp6OrlIdKwIsur3QYvDXs9mzr9oASvgQwPcaABuU9zcvleroNBFtmpKSzutccsJOhF+K8r3MaA7gGT7DNcpKAC/xFi2iG6fPq+m1WKUA4dS6bhWC9Yyb9Xz3pj8AZXwOxjdSAIQ9mu9dzP3q2DKDRTtpuGjVztZDDOz1unej/gBs4zEIj6QWBS5upTp2YsSqeq+LuPb3067yVwAgrW5oOh4g3mgmksVgegxNMSQe+5cB0AVwXejUKV77pFOMWwWA8aQ5lFgOeb3dBImLalLMnVK+J2eehWLdAX8IqUoBJz2bNEG+Y/IT5X41vcuQkyuBvshl69+2eaBPAKpSwG2Cdgy93oHg4xqXJH9TpTpfKREXgPA6GMuzU41Q/R+zCRL2SctxbRkBIGHRRx/fq/8Q+wREg/JXa/hSWgq056TmJTRhD3+i4CVJgej5UbpA7XujXMPD9Ob98fofHQCPQHiskA6VEUE5FSlp9A/UBInQzWUbTtXbBqAvJWqUx4TMGFkpYEDPN9AEBVpKLsEWJ6dRvk55fBnI690CzMDoTqwP3gTJmnp+ireRxC8RhogmunNpxTDKPNaBG2qC6KKZtDJeruk1NCXnYULbhxp62i92Q00QCKfNRGI6SJReACIkRO6+qXUqxjK0gNBI0CTLeI3QtZ7Bpl49+48DS+H1zhb7x+kXJo2QSesZngsNFkoX7phF+U7mjlzEG4N+Kcrx4Efyydw2iiDn5THO2sBLFIOkFNxAtKIARUw/5E2QzBjldNoZpVsoRk4qAGleVyGPAmBxa0I1So8FoCPsFmZzIOdJVYxNUiCc4xo1WDiI+6waBcDONoxH/l0mjhMng8r+xwHQhZ2ttx/NDVes4zLcUyumPQHGE3uqEfXk5Nv/9gBQMG2U024HgECBFmV0gKXjiA8u6w8h9RTDVNMrPwH3lfKciLdksyNTwzty/wATsrFPLbsvywAAAABJRU5ErkJggg==">
<title></title>
</head>
<body>
<div id="app"></div>
<script>
// Do NOT change ENV attributes without changing them in scripts/inject-dynamic-env.sh as well
const ENV = {
REQUIRE_HTTPS_URL_PATTERN: "true",
CLEARINGHOUSE_CONNECT_DISABLED: "false",
PORTAL_ASSETS_URL: "http://localhost:3000/assets",
PORTAL_BACKEND_URL: "https://portal-backend.example.org",
CENTRALIDP_URL: "https://centralidp.example.org/auth",
SSI_CREDENTIAL_URL: "https://ssi-credential-issuer.example.org",
BPDM_POOL_API_URL: "https://business-partners.example.org/pool/v6",
BPDM_GATE_API_URL: "https://business-partners.example.org/companies/test-company/v6",
SEMANTICS_URL: "https://semantics.example.org",
MANAGED_IDENTITY_WALLETS_NEW_URL: "https://managed-identity-wallets-new.example.org",
REALM: "CX-Central",
CLIENT_ID: "Cl2-CX-Portal",
CLIENT_ID_REGISTRATION: "Cl1-CX-Registration",
CLIENT_ID_SEMANTIC: "Cl3-CX-Semantic",
CLIENT_ID_BPDM: "Cl7-CX-BPDM",
CLIENT_ID_MIW: "Cl5-CX-Custodian",
CLIENT_ID_SSI_CREDENTIAL: "Cl24-CX-SSI-CredentialIssuer"
}
</script>
<script type="module" src="/src/index.tsx"></script>
</body>

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon"
href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABT1JREFUaEPlWT1MY0cQ/ubZkEhJ4TRJS9oIg9FhpFSBpDgp8SNcF0xxRkkPaS8Fpri0QJ8I7iTs64AzKZNAFQkjYWyU9qBMmoCUSLnEZqJ9frbfz+6+fTa6QLKlPW9nvtnZ+WZmCQMu3kQKr2EFQAGECZrH+YBbxvqcYkkHhLmMaTA2AYw4fxFmaB4Hg+wZ99u+AXAJawCWfQrvAgA3ZH4EkAl5604AKGELwEPpUd8RAC+6MR9EcUcAsPKi/R8B7PyUGUkmmw+JaITZzWbAJZgOmi1r78H7NW1ajpWFeBsZEE5u4gSE4UNDrRVmFCJS567FrdVPpn6uyeSMAXAZK2AUtcoMQmjnJJNKNFsrFEzBUQTAtGxP1TfC1y7iQy5jxCWr6SgdILyrY+Lvjt7LsJXY8YRK5JZeASJs5SYbi77fdDvwNpZAjtdTBpquKK+Wq1RHVwDSn6CBEhBv2JNnXQKVhpBDVq9jDdHx2VPJWKQFhyN8S3j9mpKbAIeJz8RgqQzP2Nkzp2QJAdAyrVzhlSjkKI/d4N+Vo7ElEK/3baf6wwM725gJAejD+EMQCsG4b6fGlijyou9Nz8hDAjlOYPAcgA90wIeH6Z374/VffSfAJQhvLRl4THi9SHlH3rdcr5veGzBwRYSCPdnwnWDlKL0FUpQsQqNFs/a9eqULwC2NRZEWtU5BmAt5/SSTSjYdrwvvGS0C9v5OJgoPJmqXsg8qx+kaGOOy/wg0n8vWn3kB7ILxqVYzY5UWwlxQOU7PuanWJFs5XrdAxVy2rr0flePRdTDJI8LlBQcAP8UbSOL3CONDWUaQUlyvAzhsNhOFYIng8I3IKp6OrlIdKwIsur3QYvDXs9mzr9oASvgQwPcaABuU9zcvleroNBFtmpKSzutccsJOhF+K8r3MaA7gGT7DNcpKAC/xFi2iG6fPq+m1WKUA4dS6bhWC9Yyb9Xz3pj8AZXwOxjdSAIQ9mu9dzP3q2DKDRTtpuGjVztZDDOz1unej/gBs4zEIj6QWBS5upTp2YsSqeq+LuPb3067yVwAgrW5oOh4g3mgmksVgegxNMSQe+5cB0AVwXejUKV77pFOMWwWA8aQ5lFgOeb3dBImLalLMnVK+J2eehWLdAX8IqUoBJz2bNEG+Y/IT5X41vcuQkyuBvshl69+2eaBPAKpSwG2Cdgy93oHg4xqXJH9TpTpfKREXgPA6GMuzU41Q/R+zCRL2SctxbRkBIGHRRx/fq/8Q+wREg/JXa/hSWgq056TmJTRhD3+i4CVJgej5UbpA7XujXMPD9Ob98fofHQCPQHiskA6VEUE5FSlp9A/UBInQzWUbTtXbBqAvJWqUx4TMGFkpYEDPN9AEBVpKLsEWJ6dRvk55fBnI690CzMDoTqwP3gTJmnp+ireRxC8RhogmunNpxTDKPNaBG2qC6KKZtDJeruk1NCXnYULbhxp62i92Q00QCKfNRGI6SJReACIkRO6+qXUqxjK0gNBI0CTLeI3QtZ7Bpl49+48DS+H1zhb7x+kXJo2QSesZngsNFkoX7phF+U7mjlzEG4N+Kcrx4Efyydw2iiDn5THO2sBLFIOkFNxAtKIARUw/5E2QzBjldNoZpVsoRk4qAGleVyGPAmBxa0I1So8FoCPsFmZzIOdJVYxNUiCc4xo1WDiI+6waBcDONoxH/l0mjhMng8r+xwHQhZ2ttx/NDVes4zLcUyumPQHGE3uqEfXk5Nv/9gBQMG2U024HgECBFmV0gKXjiA8u6w8h9RTDVNMrPwH3lfKciLdksyNTwzty/wATsrFPLbsvywAAAABJRU5ErkJggg==">
<title></title>
</head>

<body>
<div id="app"></div>
<script>
// Do NOT change 'ENV' without changing 'custom_env_vars_anchor' in scripts/inject-dynamic-env.sh as well
const ENV = {
REQUIRE_HTTPS_URL_PATTERN: "true",
PORTAL_ASSETS_URL: "http://localhost:3000/assets",
PORTAL_BACKEND_URL: "https://portal-backend.int.catena-x.net",
CENTRALIDP_URL: "https://centralidp.int.catena-x.net/auth",
SSI_CREDENTIAL_URL: "https://ssi-credential-issuer.int.catena-x.net",
BPDM_POOL_API_URL: "https://business-partners.int.catena-x.net/pool/v6",
BPDM_GATE_API_URL: "https://business-partners.int.catena-x.net/companies/test-company/v6",
SEMANTICS_URL: "https://semantics.int.catena-x.net",
MANAGED_IDENTITY_WALLETS_NEW_URL: "https://managed-identity-wallets-new.int.catena-x.net",
REALM: "CX-Central",
CLIENT_ID: "Cl2-CX-Portal",
CLIENT_ID_SEMANTIC: "Cl3-CX-Semantic",
CLIENT_ID_MIW: "Cl5-CX-Custodian",
CLIENT_ID_SSI_CREDENTIAL: "Cl24-CX-SSI-CredentialIssuer"
}
</script>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { show } from 'features/control/overlay'
import { type OVERLAYS, PAGES } from 'types/Constants'
import MainNotify from './MainNotify'
import MainSearchOverlay from './shared/frame/SearchOverlay'
import { MenuInfo } from './pages/Home/components/MenuInfo'
import { MenuInfo } from './pages/Home/MenuInfo'
import {
ApplicationStatus,
ApplicationType,
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddAppUserRoles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import UserListContent from './UserListContent'
import { useDispatch, useSelector } from 'react-redux'
import { closeOverlay, show } from 'features/control/overlay'
import { OVERLAYS } from 'types/Constants'
import './AddAppUserRoles.scss'
import './style.scss'
import {
rolesToAddSelector,
selectedUserSelector,
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddMultipleUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import {
type IdentityProvider,
IDPCategory,
} from 'features/admin/idpApiSlice'
import './AddMultipleUser.scss'
import './style.scss'
import Papa from 'papaparse'
import { AddUserDeny } from '../AddUser/AddUserDeny'
import { error } from 'services/NotifyService'
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddTechnicalUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { UserDetailCard } from 'components/shared/basic/UserDetailInfo/UserDetai
import { ServerResponseOverlay } from '../ServerResponse'
import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import './TechnicalUserAddForm.scss'
import './style.scss'

export const AddTechnicalUser = () => {
const { t } = useTranslation()
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddUser/AddUserContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
} from 'features/admin/userDeprecated/slice'
import { useDispatch, useSelector } from 'react-redux'
import { closeOverlay } from 'features/control/overlay'
import './AddUserOverlay.scss'
import './style.scss'
import { SingleUserContent } from './SingleUserContent'
import {
setAddUserError,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import {
import { error, success } from 'services/NotifyService'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import DownloadIcon from '@mui/icons-material/Download'
import './AddUsersIDP.scss'
import './style.scss'
import { Dropzone, type DropzoneFile } from 'components/shared/basic/Dropzone'
import Papa from 'papaparse'

Expand Down Expand Up @@ -124,7 +124,7 @@ const SelectFormat = ({
)
}

const AddusersIDPResponse = ({
const AddUsersIDPResponse = ({
csvData,
response,
}: {
Expand Down Expand Up @@ -202,7 +202,7 @@ const AddusersIDPResponse = ({
)
}

export const AddusersIDP = ({ id }: { id: string }) => {
export const AddUsersIDP = ({ id }: { id: string }) => {
const { t } = useTranslation('idp')
const dispatch = useDispatch()
const idpData = useFetchIDPDetailQuery(id).data
Expand Down Expand Up @@ -425,36 +425,48 @@ export const AddusersIDP = ({ id }: { id: string }) => {
[dispatch, t]
)

const onDrop = useCallback(
(acceptedFile: DropzoneFile) => {
if (!acceptedFile) {
const renderOnLoad = (reader: FileReader, acceptedFile: DropzoneFile) => {
if (!reader.result) return
if (!acceptedFile.type.includes(format.toLowerCase())) {
//checking selected format is similar to uploaded file format
error(t(`state.${IDPState.ERROR_INVALID_FORMAT}`))
setStatus(false)
setUploadedFile(undefined)
return
}
if (format === FileFormat.JSON && typeof reader.result === 'string') {
//if file is JSON
const content = JSON.stringify(json2csv(JSON.parse(reader.result)))
const JSONData = JSON.parse(reader.result)
const jsonKeys = JSONData.map((obj: FileData) => Object.keys(obj))[0]
if (
!jsonHeaderList.reduce(
(a, c, i) => a && jsonKeys[i].toLowerCase() === c.toLowerCase(),
true
)
) {
error(t(`state.${IDPState.ERROR_FILE_HEADER}`))
setStatus(false)
setTimeout(() => {
setStatus(undefined)
}, 3000)
setUploadedFile(undefined)
return
}
const reader = new FileReader()
reader.onabort = () => {
console.log('file reading was aborted')
}
reader.onerror = () => {
console.log('file reading has failed')
}
reader.onload = () => {
if (!reader.result) return
if (!acceptedFile.type.includes(format.toLowerCase())) {
//checking selected format is similar to uploaded file format
error(t(`state.${IDPState.ERROR_INVALID_FORMAT}`))
setStatus(false)
setUploadedFile(undefined)
return
}
if (format === FileFormat.JSON && typeof reader.result === 'string') {
//if file is JSON
const content = JSON.stringify(json2csv(JSON.parse(reader.result)))
const JSONData = JSON.parse(reader.result)
const jsonKeys = JSONData.map((obj: FileData) => Object.keys(obj))[0]
setCsvData(csv2json(content))
storeData(JSON.stringify(csv2json(content)))
} else {
//if file is CSV
const content = JSON.stringify(reader.result)
Papa.parse(acceptedFile, {
skipEmptyLines: true,
complete: function (results) {
const csvData: Array<Array<string>> = results.data as Array<
Array<string>
>
if (
!jsonHeaderList.reduce(
(a, c, i) => a && jsonKeys[i].toLowerCase() === c.toLowerCase(),
!csvHeaderList.reduce(
(a, c, i) => a && csvData[0][i].toLowerCase() === c.toLowerCase(),
true
)
) {
Expand All @@ -464,38 +476,29 @@ export const AddusersIDP = ({ id }: { id: string }) => {
setStatus(undefined)
}, 3000)
setUploadedFile(undefined)
return
}
setCsvData(csv2json(content))
storeData(JSON.stringify(csv2json(content)))
} else {
//if file is CSV
const content = JSON.stringify(reader.result)
Papa.parse(acceptedFile, {
skipEmptyLines: true,
complete: function (results) {
const csvData: Array<Array<string>> = results.data as Array<
Array<string>
>
if (
!csvHeaderList.reduce(
(a, c, i) =>
a && csvData[0][i].toLowerCase() === c.toLowerCase(),
true
)
) {
error(t(`state.${IDPState.ERROR_FILE_HEADER}`))
setStatus(false)
setTimeout(() => {
setStatus(undefined)
}, 3000)
setUploadedFile(undefined)
}
},
})
setCsvData(csv2json(content))
storeData(JSON.stringify(csv2json(content)))
}
},
})
setCsvData(csv2json(content))
storeData(JSON.stringify(csv2json(content)))
}
}

const onDrop = useCallback(
(acceptedFile: DropzoneFile) => {
if (!acceptedFile) {
setUploadedFile(undefined)
return
}
const reader = new FileReader()
reader.onabort = () => {
console.log('file reading was aborted')
}
reader.onerror = () => {
console.log('file reading has failed')
}
reader.onload = () => {
renderOnLoad(reader, acceptedFile)
}
setUploadedFile(acceptedFile)
reader.readAsText(acceptedFile)
Expand Down Expand Up @@ -693,7 +696,7 @@ export const AddusersIDP = ({ id }: { id: string }) => {
/>
<DialogContent>
{userResponse?.data ? (
<AddusersIDPResponse csvData={csvData} response={userResponse.data} />
<AddUsersIDPResponse csvData={csvData} response={userResponse.data} />
) : (
renderContent()
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AppMarketplaceRequest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
useFetchAgreementsQuery,
} from 'features/apps/apiSlice'
import { closeOverlay } from 'features/control/overlay'
import './AppMarketplaceRequest.scss'
import './style.scss'
import { error } from 'services/NotifyService'
import { AgreementStatus } from '../UpdateCompanyRole'
import { type AgreementRequest } from 'features/apps/types'
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AppOverViewConfirm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
import { closeOverlay } from 'features/control/overlay'
import { useTranslation } from 'react-i18next'
import { useDispatch } from 'react-redux'
import './AppOverviewConfirm.scss'
import './style.scss'
import { useNavigate } from 'react-router-dom'
import { PAGES } from 'types/Constants'
import { setApplicationId } from 'features/appManagement/slice'
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/BusinessPartnerInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

import BusinessPartnerDetail from 'components/pages/PartnerNetwork/components/BusinessPartnerDetailOverlay/BusinessPartnerDetail'
import BusinessPartnerDetail from 'components/pages/PartnerNetwork/BusinessPartnerDetailOverlay/BusinessPartnerDetail'
import {
Button,
DialogActions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ import { Dropzone } from '../../shared/basic/Dropzone'
import './style.scss'
import { useAddUsecaseMutation } from 'features/usecase/usecaseApiSlice'

export default function EditUsecase({
export default function EditUseCase({
id: verifiedCredentialTypeId,
title: credentialType,
}: {
}: Readonly<{
id: string
title: string
}) {
}>) {
const { t } = useTranslation()
const dispatch = useDispatch<typeof store.dispatch>()
const [uploadedFile, setUploadedFile] = useState<File>()
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/IDPDelete/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { useDispatch } from 'react-redux'
import { closeOverlay } from 'features/control/overlay'
import { useRemoveIDPMutation } from 'features/admin/idpApiSlice'

import './idpdelete.scss'
import './style.scss'

interface Status {
error: boolean
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/InviteForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

import './InviteForm.scss'
import './style.scss'
import type { InviteData } from 'features/admin/registration/types'
import {
Button,
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/ServiceRequest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
useFetchAgreementsQuery,
} from 'features/serviceMarketplace/serviceApiSlice'
import { closeOverlay } from 'features/control/overlay'
import './ServiceRequest.scss'
import './style.scss'
import { error } from 'services/NotifyService'
import { AgreementStatus } from '../UpdateCompanyRole'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface CheckListFullButtonsProps {
export default function CheckListFullButtons({
progressButtons,
selectedRequestId,
}: CheckListFullButtonsProps) {
}: Readonly<CheckListFullButtonsProps>) {
const { t } = useTranslation()
const [checkListButtons, setCheckListButtons] =
useState<ProgressButtonsType[]>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function CheckList({
alignRow = 'center',
onButtonClick,
selectedButton,
}: CheckListProps) {
}: Readonly<CheckListProps>) {
const { t } = useTranslation()
const [checkListButtons, setCheckListButtons] =
useState<ProgressButtonsType[]>()
Expand Down
Loading
Loading