Skip to content

Commit

Permalink
fix(dashboard): use correct component for commands list in 7tv integr…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
Satont committed Jan 10, 2025
1 parent 76d23e1 commit b39bb00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { useSevenTv } from '@/components/integrations/use-seven-tv'
import WithSettings from '@/components/integrations/variants/withSettings.vue'
import RewardsSelector from '@/components/rewardsSelector.vue'
import { useNaiveDiscrete } from '@/composables/use-naive-discrete'
import CommandsList from '@/features/commands/commands.vue'
import CommandsList from '@/features/commands/ui/list.vue'
const { t } = useI18n()
Expand Down
4 changes: 2 additions & 2 deletions frontend/dashboard/src/features/commands/commands.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const userCanManageCommands = useUserAccessFlagChecker(ChannelRolePermissionEnum
const commandsManager = useCommandsApi()
const { data: commandsResponse } = commandsManager.useQueryCommands()
const excludedModules = ['7tv']
const excludedModules: string[] = []
const commandsFilter = ref('')
const commands = computed(() => {
if (!commandsResponse.value?.commands) return []
const system = Array.isArray(route.params.system) ? route.params.system[0] : route.params.system
const system = (Array.isArray(route.params.system) ? route.params.system[0] : route.params.system) ?? ''
return commandsResponse.value.commands
.filter(c => {
Expand Down

0 comments on commit b39bb00

Please sign in to comment.