+
= (props) => {
apiRequest.methodType,
apiRequest.headers()
);
- dispatch(storeIssuers(response?.response?.issuers.filter((issuer: IssuerObject) => issuer.credential_issuer === 'Sunbird')))
+ dispatch(storeIssuers(response?.response?.issuers.filter((issuer: IssuerObject) => issuer.protocol !== 'OTP')))
}
return
diff --git a/inji-web/src/components/PageTemplate/Header.tsx b/inji-web/src/components/PageTemplate/Header.tsx
index 9a08938..325ad1f 100644
--- a/inji-web/src/components/PageTemplate/Header.tsx
+++ b/inji-web/src/components/PageTemplate/Header.tsx
@@ -3,6 +3,7 @@ import {useTranslation} from "react-i18next";
import {useNavigate} from "react-router-dom";
import {LanguageSelector} from "../Common/LanguageSelector";
import {ThemeMode} from "../Common/ThemeMode";
+import {NavBar} from "../Common/NavBar";
export const Header: React.FC = () => {
@@ -30,10 +31,7 @@ export const Header: React.FC = () => {
rel="noreferrer"
className="text-light-title dark:text-dark-title font-bold">{t("Header.aboutInji")}
-
-
-
-
+
diff --git a/inji-web/src/index.css b/inji-web/src/index.css
index 9436b06..6f63ac0 100644
--- a/inji-web/src/index.css
+++ b/inji-web/src/index.css
@@ -18,6 +18,6 @@
}
.root-body {
- @apply fixed top-20 left-0 right-0 h-5/6
+ @apply top-20 left-0 right-0 h-5/6 mt-20
}
}
diff --git a/inji-web/src/pages/HomePage.tsx b/inji-web/src/pages/HomePage.tsx
index 9bf3381..ff09122 100644
--- a/inji-web/src/pages/HomePage.tsx
+++ b/inji-web/src/pages/HomePage.tsx
@@ -25,7 +25,7 @@ export const HomePage: React.FC = () => {
apiRequest.methodType,
apiRequest.headers()
);
- const issuers = response?.response?.issuers.filter((issuer: IssuerObject) => issuer.credential_issuer === "Sunbird")
+ const issuers = response?.response?.issuers.filter((issuer: IssuerObject) => issuer.protocol !== "OTP")
dispatch(storeIssuers(issuers));
}
fetchCall();
diff --git a/inji-web/src/types/data.d.ts b/inji-web/src/types/data.d.ts
index f36751e..01c2611 100644
--- a/inji-web/src/types/data.d.ts
+++ b/inji-web/src/types/data.d.ts
@@ -34,6 +34,7 @@ export type CodeChallengeObject = {
export type IssuerObject = {
name: string;
desc: string;
+ protocol: 'OTP' | 'OpenId4VCI';
credential_issuer: string,
authorization_endpoint: string;
credentials_endpoint: string;