Fix disabled docs link comparission
Signed-off-by: GustavoAdrianGimenez <gustavoadriangimenez@gmail.com>
This commit is contained in:
@@ -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 === '',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user