From 1380db7bd6a7a68fc377ced2751ef8c009345217 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Wed, 10 Jul 2024 13:23:28 +0200 Subject: [PATCH] fix `ExtraParamsLoadedFromUrl` payload --- .../x-components/src/x-modules/url/components/url-handler.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x-components/src/x-modules/url/components/url-handler.vue b/packages/x-components/src/x-modules/url/components/url-handler.vue index 1512f29dfa..17b7738eb7 100644 --- a/packages/x-components/src/x-modules/url/components/url-handler.vue +++ b/packages/x-components/src/x-modules/url/components/url-handler.vue @@ -38,7 +38,7 @@ setup: function (props, { attrs }) { const $x = use$x(); - const initialExtraParams: Dictionary = useState('url', ['initialExtraParams']); + const initialExtraParams = useState('url', ['initialExtraParams']).initialExtraParams; /** * The {@link SnippetConfig} provided by an ancestor. @@ -268,7 +268,7 @@ } return params; }, - { all: { ...initialUrlState }, extra: { ...initialExtraParams } } + { all: { ...initialUrlState }, extra: { ...initialExtraParams.value } } ); };