Fix relationship view when viewing fields with spaces in their name

This commit is contained in:
Andrew Kingston 2020-10-08 10:32:17 +01:00
parent ff4f7b31e3
commit 1c559978e9
1 changed files with 4 additions and 2 deletions

View File

@ -3,5 +3,7 @@
import RelationshipDataTable from "components/backend/DataTable/RelationshipDataTable.svelte" import RelationshipDataTable from "components/backend/DataTable/RelationshipDataTable.svelte"
</script> </script>
<RelationshipDataTable modelId={$params.selectedModel} recordId={$params.selectedRecord} <RelationshipDataTable
fieldName={$params.selectedField}/> modelId={$params.selectedModel}
recordId={$params.selectedRecord}
fieldName={decodeURI($params.selectedField)} />