diff --git a/package.json b/package.json index 0b6b5a3..b0eebaf 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "copy-src": "shx cp dist/servicestack-vue.min.mjs ../ServiceStack/ServiceStack/src/ServiceStack/js/servicestack-vue.mjs && shx cp dist/servicestack-vue.mjs ../ServiceStack/ServiceStack/tests/NorthwindAuto/wwwroot/lib/mjs/", "copy-diffusion": "shx cp dist/servicestack-vue.m* ../../netcore/BlazorDiffusionVue/BlazorDiffusion/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../../netcore/BlazorDiffusionVue/BlazorDiffusion/wwwroot/lib/typings/@servicestack/vue/", "copy-creatorkit": "shx cp dist/servicestack-vue.m* ../../netcore/CreatorKit/CreatorKit/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../../netcore/CreatorKit/CreatorKit/wwwroot/lib/typings/@servicestack/vue/", - "copy-aiserver": "shx cp dist/servicestack-vue.m* ../../mythz/ai-server/AiServer/wwwroot/js/ && shx cp dist/index.d.ts ../../mythz/ai-server/AiServer/wwwroot/lib/typings/@servicestack/vue/", + "copy-aiserver": "shx cp dist/servicestack-vue.m* ../ai-server/AiServer/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../ai-server/AiServer/wwwroot/lib/typings/@servicestack/vue/", "preview": "vite preview", "build-only": "vite build -l error", "type-check": "vue-tsc --noEmit", diff --git a/src/components/SlideOver.vue b/src/components/SlideOver.vue index ea538af..39971d3 100644 --- a/src/components/SlideOver.vue +++ b/src/components/SlideOver.vue @@ -4,7 +4,7 @@
-
+
@@ -13,6 +13,7 @@
+

{{title}}

@@ -31,7 +32,7 @@

-
+
diff --git a/src/use/utils.ts b/src/use/utils.ts index 1dde226..a5fa1ba 100644 --- a/src/use/utils.ts +++ b/src/use/utils.ts @@ -142,8 +142,8 @@ export function parseJson(json?:string|null) { export function pushState(args:Record, clear?:boolean) { if (typeof history != 'undefined') { const url = clear - ? setQueryString(location.href, args) - : appendQueryString(lastLeftPart(location.href,'?'), args) + ? appendQueryString(lastLeftPart(location.href,'?'), args) + : setQueryString(location.href, args) history.pushState({}, '', url) } }