Skip to content

Commit a338137

Browse files
committed
Exclude portduino
1 parent d51cb61 commit a338137

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

stores/deviceStore.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,15 @@ export const useDeviceStore = defineStore('device', {
125125
setTargetsList(targets: DeviceHardware[]) {
126126
if (vendorCobrandingTag.length > 0) {
127127
this.targets = targets.filter(
128-
(t: DeviceHardware) => t.activelySupported && t.tags?.includes(vendorCobrandingTag),
128+
(t: DeviceHardware) => t.activelySupported
129+
&& !t.architecture.toLowerCase().startsWith('portduino')
130+
&& t.tags?.includes(vendorCobrandingTag),
129131
)
130132
}
131133
else {
132134
this.targets = targets.filter(
133-
(t: DeviceHardware) => t.activelySupported,
135+
(t: DeviceHardware) => t.activelySupported
136+
&& !t.architecture.toLowerCase().startsWith('portduino'),
134137
)
135138
}
136139
},

0 commit comments

Comments
 (0)