Skip to content

Commit

Permalink
refactor(ui): Change the variable route to router
Browse files Browse the repository at this point in the history
  • Loading branch information
florianLSP authored and rezib committed Jan 11, 2024
1 parent 6a33bd8 commit fa3a82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions racksdb/web/ui/src/components/ComboBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import { ChevronUpDownIcon, CheckIcon } from '@heroicons/vue/24/outline'

const selectedItem: Ref<string | undefined> = ref()
const route = useRouter()
const router = useRouter()
const input = ref('')
const filteredItem = computed(() =>
input.value === ''
Expand All @@ -31,7 +31,7 @@ const filteredItem = computed(() =>
type itemType = Datacenter | Infrastructure

function goToItem(item: string) {
route.push({
router.push({
name: props.item + 'details',
params: { name: item }
})
Expand Down

0 comments on commit fa3a82e

Please sign in to comment.