mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Fix template settings
This commit is contained in:
@@ -199,7 +199,6 @@ const TemplateSettings = () => {
|
|||||||
src: imageSource,
|
src: imageSource,
|
||||||
},
|
},
|
||||||
features: template.features?.map((feature) => feature.id),
|
features: template.features?.map((feature) => feature.id),
|
||||||
specification: '',
|
|
||||||
},
|
},
|
||||||
specification: {
|
specification: {
|
||||||
introduction: {
|
introduction: {
|
||||||
@@ -386,7 +385,6 @@ const TemplateSettings = () => {
|
|||||||
src: template.image.src,
|
src: template.image.src,
|
||||||
},
|
},
|
||||||
features: template.features?.map((feature) => feature.id),
|
features: template.features?.map((feature) => feature.id),
|
||||||
specification: '',
|
|
||||||
},
|
},
|
||||||
specification: {
|
specification: {
|
||||||
introduction: {
|
introduction: {
|
||||||
@@ -438,7 +436,6 @@ const TemplateSettings = () => {
|
|||||||
src: template.image.src,
|
src: template.image.src,
|
||||||
},
|
},
|
||||||
features,
|
features,
|
||||||
specification: '',
|
|
||||||
},
|
},
|
||||||
specification: {
|
specification: {
|
||||||
introduction: {
|
introduction: {
|
||||||
@@ -1014,6 +1011,7 @@ const TemplateSettings = () => {
|
|||||||
availableFeatures.map((feature) => (
|
availableFeatures.map((feature) => (
|
||||||
<FeatureCard
|
<FeatureCard
|
||||||
feature={feature}
|
feature={feature}
|
||||||
|
key={feature.id}
|
||||||
selectable
|
selectable
|
||||||
selected={featuresForm.values.features.includes(
|
selected={featuresForm.values.features.includes(
|
||||||
feature.id
|
feature.id
|
||||||
|
|||||||
Reference in New Issue
Block a user