Fix disabled docs link comparission

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