Skip to content

Commit

Permalink
Update x-pack/plugins/spaces/public/nav_control/solution_view_tour/li…
Browse files Browse the repository at this point in the history
…b.ts

Co-authored-by: Aleh Zasypkin <[email protected]>
  • Loading branch information
sebelga and azasypkin authored Oct 9, 2024
1 parent 862eb61 commit eae5945
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function initTour(core: CoreStart, spacesManager: SpacesManager) {
allSpaces$.subscribe((spaces) => {
if (
!hasValueInUiSettings &&
(hasMultipleSpaces(spaces) || (!hasMultipleSpaces(spaces) && isDefaultSpaceOnClassic(spaces)))
(hasMultipleSpaces(spaces) || isDefaultSpaceOnClassic(spaces))
) {
// If we have either (1) multiple space or (2) only one space and it's the default space with the classic solution,
// we don't want to show the tour later on. This can happen in the following scenarios:
Expand Down

0 comments on commit eae5945

Please sign in to comment.