Skip to content

Commit

Permalink
chore(demo): update that select device is arable only
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Aug 13, 2024
1 parent 11b47ca commit 4680e31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/angular/src/app/terminal/terminal.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,14 @@ export class TerminalPage {
const alert = await this.alertCtrl.create({
header: `Select a reader`,
message: `Select a reader to connect to.`,
backdropDismiss: false,
inputs: readers.map((reader, index) => ({
name: 'serialNumber',
type: 'radio',
label: reader.serialNumber,
label: reader.deviceType,
value: reader.serialNumber,
checked: index === 0,
disabled: reader.status === 'OFFLINE'
})),
buttons: [
{
Expand Down

0 comments on commit 4680e31

Please sign in to comment.