Skip to content

Commit

Permalink
webapp: pin assignment: hide unsupported pins
Browse files Browse the repository at this point in the history
if the pin_mapping.json includes unsupported pins, e.g., `eth` pins on
an ESP32-S3, the whole category should still be hidden in the device
manager.
  • Loading branch information
schlimmchen committed Oct 6, 2024
1 parent ee54beb commit d6d5f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/src/components/PinInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default defineComponent({
let selArray: Array<string> = [];
if (this.selectedPinAssignment) {
selArray = Object.keys(this.selectedPinAssignment as Device);
selArray = selArray.filter((item) => curArray.includes(item));
}
let total: Array<string> = [];
Expand Down

0 comments on commit d6d5f32

Please sign in to comment.