Skip to content

Commit

Permalink
🐛 TinaCMS Editing - Company Pages (#1875)
Browse files Browse the repository at this point in the history
added correct glob pattern to exclude incorrect documents
  • Loading branch information
Harry-Ross authored Dec 12, 2023
1 parent 5aa00f7 commit f460822
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .tina/__generated__/_schema.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .tina/collections/company.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const companySchema: Collection = {
format: "mdx",
path: "content/company/",
match: {
include: "*",
exclude: "@(case-study|index|clientCategories)/*",
},
ui: {
router: ({ document }) => {
Expand Down Expand Up @@ -144,6 +144,10 @@ export const companyIndexSchema: Collection = {
router: () => {
return `/company`;
},
allowedActions: {
create: false,
delete: false,
},
},
fields: [
{
Expand Down

0 comments on commit f460822

Please sign in to comment.