From 30b9b9a4adc8cbd41cb8715c2ca41a31f5c5b6fc Mon Sep 17 00:00:00 2001 From: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com> Date: Sun, 6 Jul 2025 22:08:28 +0100 Subject: [PATCH] run prettier --- client/src/app/add-new-torrent/add-new-torrent.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/app/add-new-torrent/add-new-torrent.component.ts b/client/src/app/add-new-torrent/add-new-torrent.component.ts index 55411c5..828d042 100644 --- a/client/src/app/add-new-torrent/add-new-torrent.component.ts +++ b/client/src/app/add-new-torrent/add-new-torrent.component.ts @@ -50,11 +50,11 @@ export class AddNewTorrentComponent implements OnInit { private router: Router, private torrentService: TorrentService, private settingsService: SettingsService, - private activatedRoute: ActivatedRoute + private activatedRoute: ActivatedRoute, ) {} ngOnInit(): void { - this.activatedRoute.queryParams.subscribe(params => { + this.activatedRoute.queryParams.subscribe((params) => { if (params['magnet']) { this.magnetLink = decodeURIComponent(params['magnet']); } @@ -70,7 +70,7 @@ export class AddNewTorrentComponent implements OnInit { this.downloadAction = settings.first((m) => m.key === 'Gui:Default:OnlyDownloadAvailableFiles')?.value === true ? 1 : 0; this.finishedAction = settings.first((m) => m.key === 'Gui:Default:FinishedAction')?.value as number; - this.finishedActionDelay = settings.first(m => m.key =="Gui:Default:FinishedActionDelay")?.value as number; + this.finishedActionDelay = settings.first((m) => m.key == 'Gui:Default:FinishedActionDelay')?.value as number; this.downloadMinSize = settings.first((m) => m.key === 'Gui:Default:MinFileSize')?.value as number; this.includeRegex = settings.first((m) => m.key === 'Gui:Default:IncludeRegex')?.value as string; this.excludeRegex = settings.first((m) => m.key === 'Gui:Default:ExcludeRegex')?.value as string;