Skip to content

Commit

Permalink
disable selection off ALL as API
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Oct 30, 2024
1 parent 4cdb56b commit bf329cb
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,11 @@ export class MappingStepPropertiesComponent implements OnInit, OnDestroy {
wrappers: ['c8y-form-field'],
templateOptions: {
label: 'Target API',
options: Object.keys(API).map((key) => {
return { label: key, value: key };
}),
options: Object.keys(API)
.filter((key) => key != API.ALL.name)
.map((key) => {
return { label: key, value: key };
}),
disabled:
this.stepperConfiguration.editorMode == EditorMode.READ_ONLY,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down

0 comments on commit bf329cb

Please sign in to comment.