Skip to content

Commit

Permalink
Fix get deviceGuid when deleting other sync device; fixes brave/brave…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed Nov 16, 2022
1 parent cb16064 commit 8a9c59f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export class SettingsBraveSyncConfigureElement extends SettingsBraveSyncConfigur
if (!shouldDeleteDevice) {
return
}

const deviceGuid = (e.currentTarget as HTMLElement).getAttribute('arg')!;
// @ts-ignore
const deviceGuid = (e.currentTarget as HTMLElement).arg;
await this.browserProxy_.deleteDevice(deviceGuid);
}
}
Expand Down

0 comments on commit 8a9c59f

Please sign in to comment.