minor fix for route and checkbox (#2506)

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
This commit is contained in:
Ishan Gupta 2021-03-06 10:26:05 +05:30 committed by GitHub
parent 806ea45fe4
commit 168ad20bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const QuickActionCard: React.FC<QuickActionCardProps> = ({
const userRole = useSelector((state: RootState) => state.userData.userRole);
const tabs = useActions(TabActions);
const { t } = useTranslation();
const apiDocsUrl = `${window.location.href}api-doc`;
const apiDocsUrl = `${window.location.href}api-doc/index.html`;
return (
<div data-cy="quickActionCardComponent" className={classes.quickActionCard}>

View File

@ -270,6 +270,7 @@ const ConfigurePrometheus: React.FC<ConfigurePrometheusProps> = ({
control={
<StyledCheckbox
color="primary"
disabled
checked={dataSourceDetails.basicAuth}
onChange={handleAuthChange}
name="basicAuth"