Fix docs disabled condition

Signed-off-by: GustavoAdrianGimenez <gustavoadriangimenez@gmail.com>
This commit is contained in:
GustavoAdrianGimenez
2023-04-08 11:59:52 -03:00
parent 91b7bde16f
commit ef155ba5e2
2 changed files with 2 additions and 3 deletions
@@ -133,7 +133,7 @@ export const EntityBazaarInfoContent = ({
label: 'Docs',
icon: <Description />,
href: bazaarProject?.docs,
disabled: bazaarProject?.docs === undefined || bazaarProject?.docs === '',
disabled: bazaarProject?.docs === null || bazaarProject?.docs === '',
},
];
@@ -203,8 +203,7 @@ export const HomePageBazaarInfoCard = ({
icon: <Description />,
href: bazaarProject.value?.docs,
disabled:
bazaarProject.value?.docs === undefined ||
bazaarProject.value?.docs === '',
bazaarProject.value?.docs === null || bazaarProject.value?.docs === '',
},
];