UPD: Pane switching (random for testing)

This commit is contained in:
Robert Kossessa
2024-02-04 13:21:03 +01:00
parent e6aae180f8
commit 59198534c1
4 changed files with 16 additions and 6 deletions

View File

@@ -27,7 +27,6 @@ import ProfileConfig from '@/components/config/pages/ProfileConfig.vue'
import MappingConfig from '@/components/config/pages/MappingConfig.vue'
import HapticConfig from '@/components/config/pages/HapticConfig.vue'
import { Separator } from '@/components/ui/separator'
import { ref } from 'vue'
defineProps({
showTabs: {
@@ -36,7 +35,10 @@ defineProps({
},
})
const currentPage = ref(1)
const currentPage = defineModel({
type: Number,
default: 0,
})
const configPageOptions = [
{