Skip to content

Commit

Permalink
fix(Navigation/Queue): allow Queue tab for replication_table/chaos_re…
Browse files Browse the repository at this point in the history
…plicated_table [YTFRONT-4144]
  • Loading branch information
ma-efremoff committed Oct 18, 2024
1 parent d702adb commit 228db6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ui/src/ui/store/selectors/navigation/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ export const getSupportedTabs = createSelector(
}

if (
attributes?.type === 'table' &&
attributes?.dynamic === true &&
attributes?.sorted === false
attributes?.sorted === false &&
(attributes?.type === 'table' ||
attributes?.type === 'replicated_table' ||
attributes?.type === 'chaos_replicated_table')
) {
supportedByAttribute.push(Tab.QUEUE);
}
Expand Down

0 comments on commit 228db6a

Please sign in to comment.