diff --git a/src/components/AutoQueryGrid.vue b/src/components/AutoQueryGrid.vue index 45ab7c8..e08d7a0 100644 --- a/src/components/AutoQueryGrid.vue +++ b/src/components/AutoQueryGrid.vue @@ -239,7 +239,7 @@ const props = withDefaults(defineProps<{ const emit = defineEmits<{ (e: "headerSelected", name:string, ev:Event): void (e: "rowSelected", item:any, ev:Event): void - (e: "pushState", args:any): void + (e: "nav", args:any): void }>() const client = inject('client')! @@ -373,7 +373,7 @@ function canFilter(column:string) { } function updateUrl(args:Record) { - emit('pushState', args) + emit('nav', args) if (!allow('queryString')) return pushState(args) }