diff options
author | vnugent <public@vaughnnugent.com> | 2023-09-08 17:27:10 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-09-08 17:27:10 -0400 |
commit | f2781825804039b5ca68466bec7054b8d9ccce5d (patch) | |
tree | 07f6b701df7a59b97f17b739a030273286c54e41 /lib/client/src | |
parent | d66290269d4709fe2d909284801f31669aa26f74 (diff) |
upstream theme updates and patches
Diffstat (limited to 'lib/client/src')
-rw-r--r-- | lib/client/src/channels.ts | 2 | ||||
-rw-r--r-- | lib/client/src/types.ts | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/client/src/channels.ts b/lib/client/src/channels.ts index 6ddecca..d5dcc8f 100644 --- a/lib/client/src/channels.ts +++ b/lib/client/src/channels.ts @@ -91,7 +91,7 @@ export const createScopedChannelApi = (channelFile: string, channelId: string): //Await the selected channel index const channel = await index //Get the post index from the channel - return channel ? `${channel.path}/${channel.content}` : undefined; + return channel ? `${channel.path}/content.json` : undefined; } return{ diff --git a/lib/client/src/types.ts b/lib/client/src/types.ts index aa158e9..6e90a40 100644 --- a/lib/client/src/types.ts +++ b/lib/client/src/types.ts @@ -74,6 +74,10 @@ export interface CMNextApi<T> { */ export interface ChannelMeta extends CMNextEntity { /** + * The name of the channel + */ + readonly name: string; + /** * The base path of the channel */ readonly path: string; |