Skip to content

Commit 7a99a68

Browse files
fix lost marker.
1 parent 59cc85d commit 7a99a68

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

src/views/tenant/standards/ListAppliedStandards.js

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,13 @@ const ListAppliedStandards = () => {
183183
.filter((obj) => obj.cat === 'Global')
184184
.map((item, key) => (
185185
<>
186-
{console.log(item.name)}
187186
<CCol>
188-
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
187+
<RFFCFormSwitch
188+
key={key}
189+
name={item.name}
190+
label={item.label}
191+
sublabel={getLabel(item)}
192+
/>
189193
{item.addedComponent && (
190194
<Condition when={item.name} is={true}>
191195
{item.addedComponent.type === 'Select' ? (
@@ -218,7 +222,12 @@ const ListAppliedStandards = () => {
218222
.map((item, key) => (
219223
<>
220224
<CCol>
221-
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
225+
<RFFCFormSwitch
226+
key={key}
227+
name={item.name}
228+
label={item.label}
229+
sublabel={getLabel(item)}
230+
/>
222231
{item.addedComponent && (
223232
<Condition when={item.name} is={true}>
224233
{item.addedComponent.type === 'Select' ? (
@@ -251,7 +260,12 @@ const ListAppliedStandards = () => {
251260
.map((item, key) => (
252261
<>
253262
<CCol>
254-
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
263+
<RFFCFormSwitch
264+
key={key}
265+
name={item.name}
266+
label={item.label}
267+
sublabel={getLabel(item)}
268+
/>
255269
{item.addedComponent && (
256270
<Condition when={item.name} is={true}>
257271
{item.addedComponent.type === 'Select' ? (
@@ -284,7 +298,12 @@ const ListAppliedStandards = () => {
284298
.map((item, key) => (
285299
<>
286300
<CCol>
287-
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
301+
<RFFCFormSwitch
302+
key={key}
303+
name={item.name}
304+
label={item.label}
305+
sublabel={getLabel(item)}
306+
/>
288307
{item.addedComponent && (
289308
<Condition when={item.name} is={true}>
290309
{item.addedComponent.type === 'Select' ? (
@@ -317,7 +336,12 @@ const ListAppliedStandards = () => {
317336
.map((item, key) => (
318337
<>
319338
<CCol>
320-
<RFFCFormSwitch key={key} name={item.name} label={item.label} />
339+
<RFFCFormSwitch
340+
key={key}
341+
name={item.name}
342+
label={item.label}
343+
sublabel={getLabel(item)}
344+
/>
321345
{item.addedComponent && (
322346
<Condition when={item.name} is={true}>
323347
{item.addedComponent.type === 'Select' ? (

0 commit comments

Comments
 (0)