webapp: pin assignment: hide unsupported pins
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.
This commit is contained in:
parent
ee54bebd0b
commit
d6d5f32329
@ -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> = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user