From 7ffceca798dc346a580652a14c47611488ff4a70 Mon Sep 17 00:00:00 2001
From: ekachxaidze98 <65679299+ekachxaidze98@users.noreply.github.com>
Date: Thu, 21 Nov 2024 16:38:45 +0400
Subject: [PATCH] CORE: update data provider (#1251) (#1252)
---
netlify-cms.config.yml | 16 ++++++++++------
templates/documentation/dataset/index.jsx | 7 ++-----
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/netlify-cms.config.yml b/netlify-cms.config.yml
index ed2cd1a8..f2f325f6 100644
--- a/netlify-cms.config.yml
+++ b/netlify-cms.config.yml
@@ -1122,12 +1122,16 @@ collections:
- name: reminder
widget: object
fields:
- - { name: title, widget: markdown, label: Reminder title }
- - name: description
- widget: object
- fields:
- - { label: option, name: option, widget: markdown }
- - { label: option2, name: option2, widget: markdown }
+ - {
+ name: title,
+ widget: string,
+ label: Reminder title
+ }
+ - {
+ name: description,
+ widget: markdown,
+ label: Reminder description
+ }
- name: datasetLatest
label: Latest dataset
file: dataset/datasetLatest.yml
diff --git a/templates/documentation/dataset/index.jsx b/templates/documentation/dataset/index.jsx
index 46bece98..11a46ad3 100644
--- a/templates/documentation/dataset/index.jsx
+++ b/templates/documentation/dataset/index.jsx
@@ -99,12 +99,9 @@ const DatasetPageTemplate = ({