Skip to content

Commit

Permalink
Fixup Polygons, Points, and Lines
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Aug 7, 2024
1 parent da377ba commit 7da4cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pages/maps/ingestion/@id/@editMode/+Page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const routeMap = {
};

export function Page() {
const { source, ingestProcess, editMode, mapBounds } = usePageProps();
const { source, ingestProcess, editMode, mapBounds, source_id } =
usePageProps();
const slug = source.slug;

const sourcePrefix = `${ingestPrefix}/sources/${source_id}`;
Expand Down
2 changes: 1 addition & 1 deletion pages/maps/ingestion/@id/@editMode/+onBeforeRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function onBeforeRender(pageContext: PageContextServer) {

return {
pageContext: {
pageProps: { ...props, editMode },
pageProps: { ...props, editMode, source_id },
documentProps: {
// The page's <title>
title: props.source.name,
Expand Down

0 comments on commit 7da4cf0

Please sign in to comment.