Skip to content

Commit

Permalink
fix lost marker.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jul 25, 2023
1 parent 59cc85d commit 7a99a68
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions src/views/tenant/standards/ListAppliedStandards.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,13 @@ const ListAppliedStandards = () => {
.filter((obj) => obj.cat === 'Global')
.map((item, key) => (
<>
{console.log(item.name)}
<CCol>
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
<RFFCFormSwitch
key={key}
name={item.name}
label={item.label}
sublabel={getLabel(item)}
/>
{item.addedComponent && (
<Condition when={item.name} is={true}>
{item.addedComponent.type === 'Select' ? (
Expand Down Expand Up @@ -218,7 +222,12 @@ const ListAppliedStandards = () => {
.map((item, key) => (
<>
<CCol>
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
<RFFCFormSwitch
key={key}
name={item.name}
label={item.label}
sublabel={getLabel(item)}
/>
{item.addedComponent && (
<Condition when={item.name} is={true}>
{item.addedComponent.type === 'Select' ? (
Expand Down Expand Up @@ -251,7 +260,12 @@ const ListAppliedStandards = () => {
.map((item, key) => (
<>
<CCol>
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
<RFFCFormSwitch
key={key}
name={item.name}
label={item.label}
sublabel={getLabel(item)}
/>
{item.addedComponent && (
<Condition when={item.name} is={true}>
{item.addedComponent.type === 'Select' ? (
Expand Down Expand Up @@ -284,7 +298,12 @@ const ListAppliedStandards = () => {
.map((item, key) => (
<>
<CCol>
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
<RFFCFormSwitch
key={key}
name={item.name}
label={item.label}
sublabel={getLabel(item)}
/>
{item.addedComponent && (
<Condition when={item.name} is={true}>
{item.addedComponent.type === 'Select' ? (
Expand Down Expand Up @@ -317,7 +336,12 @@ const ListAppliedStandards = () => {
.map((item, key) => (
<>
<CCol>
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
<RFFCFormSwitch
key={key}
name={item.name}
label={item.label}
sublabel={getLabel(item)}
/>
{item.addedComponent && (
<Condition when={item.name} is={true}>
{item.addedComponent.type === 'Select' ? (
Expand Down

0 comments on commit 7a99a68

Please sign in to comment.