[8.10] [ML] Fix data comparison on basic license (#165383) (#165639)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] Fix data comparison on basic license
(#165383)](https://github.com/elastic/kibana/pull/165383)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-05T06:44:57Z","message":"[ML]
Fix data comparison on basic license
(#165383)","sha":"a29bfb0e7b0074311a028b7bdd013f17c20e3962","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v8.10.0","v8.11.0"],"number":165383,"url":"https://github.com/elastic/kibana/pull/165383","mergeCommit":{"message":"[ML]
Fix data comparison on basic license
(#165383)","sha":"a29bfb0e7b0074311a028b7bdd013f17c20e3962"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165383","number":165383,"mergeCommit":{"message":"[ML]
Fix data comparison on basic license
(#165383)","sha":"a29bfb0e7b0074311a028b7bdd013f17c20e3962"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-09-05 03:56:26 -04:00 committed by GitHub
parent 913dd8bc66
commit 01b5679a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ export const dataComparisonRouteFactory = (
});
const PageWrapper: FC<PageProps> = () => {
const { context } = useRouteResolver('basic', [], basicResolvers());
const { context } = useRouteResolver('full', [], basicResolvers());
return (
<PageLoader context={context}>

View file

@ -199,7 +199,7 @@ export const dataComparisonIndexOrSearchRouteFactory = (
{...props}
nextStepPath={createPath(ML_PAGES.DATA_COMPARISON)}
deps={deps}
mode={MODE.DATAVISUALIZER}
mode={MODE.NEW_JOB}
/>
),
breadcrumbs: getDataVisBreadcrumbs(navigateToPath, basePath),